Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2400,variableFilter="Time|asm.motor.slip|power.p.1.|power.p.2.|power.p.3.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2400,variableFilter="Time|asm.motor.slip|power.p.1.|power.p.2.|power.p.3.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 109.4 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 198.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1621/0.1621, allocations: 38.04 MB / 329.9 MB, free: 9.082 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 63.86 kB / 398.7 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1126, allocations: 58.04 MB / 456.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.009333/0.1219, allocations: 8.355 MB / 465.1 MB, free: 148 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008418/0.1304, allocations: 5.644 MB / 470.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/0.1319, allocations: 51.69 kB / 470.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01044/0.1423, allocations: 5.656 MB / 476.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.1442, allocations: 497.9 kB / 477 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.1459, allocations: 446.3 kB / 477.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004071/0.15, allocations: 2.955 MB / 480.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.1516, allocations: 0.7908 MB / 481.2 MB, free: 84 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.1528, allocations: 0.5173 MB / 481.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.1542, allocations: 0.7435 MB / 482.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000255/0.1545, allocations: 56 kB / 482.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007849/0.1553, allocations: 223.8 kB / 482.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006268/0.1559, allocations: 454.8 kB / 483.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.1569, allocations: 0.5324 MB / 483.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.1584, allocations: 1.208 MB / 484.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1584, allocations: 8 kB / 484.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1584, allocations: 3.938 kB / 484.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.305e-05/0.1585, allocations: 3.938 kB / 484.9 MB, free: 12.34 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003126/0.1616, allocations: 1.452 MB / 486.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1617, allocations: 8.031 kB / 486.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006201/0.1623, allocations: 151.5 kB / 486.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.1639, allocations: 0.8782 MB / 487.4 MB, free: 9.754 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/0.1639, allocations: 61.98 kB / 487.4 MB, free: 9.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.1641, allocations: 87.91 kB / 487.5 MB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.1658, allocations: 1.227 MB / 488.8 MB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.1659, allocations: 7.938 kB / 488.8 MB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.021e-05/0.166, allocations: 35.98 kB / 488.8 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002149/0.1662, allocations: 93.94 kB / 488.9 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.1677, allocations: 1.007 MB / 489.9 MB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006291/0.174, allocations: 4.909 MB / 494.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009262/0.1749, allocations: 0.6612 MB / 495.5 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005423/0.1755, allocations: 359.5 kB / 495.8 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.376e-05/0.1755, allocations: 4.562 kB / 495.8 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006265/0.1762, allocations: 453.8 kB / 496.3 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.515e-06/0.1762, allocations: 0 / 496.3 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004421/0.1806, allocations: 2.719 MB / 499 MB, free: 13.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.829e-05/0.1807, allocations: 115.3 kB / 499.1 MB, free: 13.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.1818, allocations: 0.7467 MB / 499.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.714e-05/0.1818, allocations: 41.7 kB / 499.9 MB, free: 12.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/0.1823, allocations: 0.4986 MB / 0.4887 GB, free: 12.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.1825, allocations: 232.7 kB / 0.4889 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003106/0.1829, allocations: 186.5 kB / 0.4891 GB, free: 11.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.1831, allocations: 398.7 kB / 0.4894 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006207/0.1837, allocations: 373.8 kB / 0.4898 GB, free: 11.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008682/0.1846, allocations: 0.6539 MB / 0.4904 GB, free: 10.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.186, allocations: 1.049 MB / 0.4915 GB, free: 9.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.186, allocations: 4 kB / 0.4915 GB, free: 9.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002957/0.189, allocations: 1.631 MB / 0.4931 GB, free: 7.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.189, allocations: 8 kB / 0.4931 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.189, allocations: 8 kB / 0.4931 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.1905, allocations: 489.6 kB / 0.4935 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/0.1911, allocations: 163.7 kB / 0.4937 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008591/0.1997, allocations: 6.506 MB / 0.5 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007044/0.2005, allocations: 47.91 kB / 0.5001 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.451e-05/0.2005, allocations: 47.98 kB / 0.5001 GB, free: 15.88 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0005644/0.2011, allocations: 357.3 kB / 0.5005 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.2012, allocations: 90.86 kB / 0.5006 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.203, allocations: 1.102 MB / 0.5016 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.203, allocations: 11.98 kB / 0.5017 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.203, allocations: 3.938 kB / 0.5017 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.203, allocations: 4 kB / 0.5017 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/0.2062, allocations: 2.127 MB / 0.5037 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.2062, allocations: 128 / 0.5037 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000708/0.2069, allocations: 127.8 kB / 0.5039 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005193/0.2075, allocations: 166.3 kB / 0.504 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-05/0.2075, allocations: 19.98 kB / 0.504 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003771/0.2113, allocations: 4.466 MB / 0.5084 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.2113, allocations: 4.031 kB / 0.5084 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.2134, allocations: 1.522 MB / 0.5099 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002923/0.2137, allocations: 212 kB / 0.5101 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.2139, allocations: 27.98 kB / 0.5101 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.2143, allocations: 31.97 kB / 0.5101 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.2144, allocations: 48.42 kB / 0.5102 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/0.2145, allocations: 20 kB / 0.5102 GB, free: 4.879 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006592/0.2151, allocations: 0.5146 MB / 0.5107 GB, free: 4.371 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2151, allocations: 0 / 0.5107 GB, free: 4.371 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001001/0.2161, allocations: 264.1 kB / 0.511 GB, free: 4.113 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009479/0.2171, allocations: 434.9 kB / 0.5114 GB, free: 3.828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002214/0.2193, allocations: 1.314 MB / 0.5127 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2193, allocations: 0 / 0.5127 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.2205, allocations: 0.7817 MB / 0.5134 GB, free: 1.664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009544/0.2215, allocations: 207 kB / 0.5136 GB, free: 1.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2172/0.4387, allocations: 3.142 MB / 0.5167 GB, free: 69.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009713/0.4397, allocations: 1.147 MB / 0.5178 GB, free: 69.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004117/0.4401, allocations: 75.69 kB / 0.5179 GB, free: 69.02 MB / 398.1 MB Notification: Performance of SimCode: time 1.313e-06/0.4401, allocations: 0 / 0.5179 GB, free: 69.02 MB / 398.1 MB Notification: Performance of Templates: time 0.03743/0.4776, allocations: 22.79 MB / 0.5401 GB, free: 60.66 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMavCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMavCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMavCalcHelperMain.o] Error 1