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.001071/0.001071, allocations: 89.89 kB / 17.31 MB, free: 6.027 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.001223/0.001223, allocations: 175.9 kB / 18.21 MB, free: 5.41 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.44/1.44, allocations: 223.3 MB / 242.2 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2033/0.2033, allocations: 38.09 MB / 331.5 MB, free: 8.527 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 8 kB / 401.4 MB, free: 34.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1476, allocations: 59.17 MB / 460.5 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.009926/0.1576, allocations: 7.887 MB / 468.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.1696, allocations: 5.521 MB / 473.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.1709, allocations: 55.62 kB / 474 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01245/0.1834, allocations: 5.436 MB / 479.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.1853, allocations: 499.2 kB / 479.9 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.1868, allocations: 450.2 kB / 480.4 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004147/0.191, allocations: 2.951 MB / 483.3 MB, free: 196 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.1927, allocations: 1.021 MB / 484.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.1938, allocations: 0.49 MB / 484.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.1948, allocations: 0.7084 MB / 485.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.195, allocations: 44 kB / 485.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005854/0.1955, allocations: 219.7 kB / 485.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005369/0.1961, allocations: 446.7 kB / 486.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000614/0.1967, allocations: 0.5341 MB / 486.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.198, allocations: 1.177 MB / 487.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.198, allocations: 0 / 487.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.968e-06/0.198, allocations: 0 / 487.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.198, allocations: 0 / 487.9 MB, free: 11.51 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.003068/0.2011, allocations: 1.265 MB / 489.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.2012, allocations: 8.031 kB / 489.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007164/0.2019, allocations: 151.5 kB / 489.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.2038, allocations: 0.8782 MB / 490.2 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.783e-05/0.2039, allocations: 65.98 kB / 490.3 MB, free: 9.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.204, allocations: 87.89 kB / 490.4 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.2061, allocations: 1.231 MB / 491.6 MB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/0.2062, allocations: 4 kB / 491.6 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.965e-05/0.2063, allocations: 35.98 kB / 491.7 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002493/0.2065, allocations: 89.88 kB / 491.7 MB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.2082, allocations: 1.007 MB / 492.8 MB, free: 6.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007129/0.2154, allocations: 4.936 MB / 497.7 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.2164, allocations: 0.6498 MB / 498.3 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000594/0.217, allocations: 355.3 kB / 498.7 MB, free: 344 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.055e-05/0.2171, allocations: 16.53 kB / 498.7 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007166/0.2178, allocations: 453.7 kB / 499.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.305e-06/0.2178, allocations: 0 / 499.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.005052/0.2229, allocations: 2.712 MB / 0.4901 GB, free: 13.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.223, allocations: 107.4 kB / 0.4902 GB, free: 12.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.2241, allocations: 0.7467 MB / 0.4909 GB, free: 12.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.08e-05/0.2241, allocations: 37.7 kB / 0.491 GB, free: 12.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/0.2246, allocations: 0.4986 MB / 0.4914 GB, free: 11.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000222/0.2248, allocations: 248.5 kB / 0.4917 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.2249, allocations: 85.67 kB / 0.4918 GB, free: 11.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002245/0.2252, allocations: 398.7 kB / 0.4921 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000583/0.2258, allocations: 377.7 kB / 0.4925 GB, free: 10.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008196/0.2266, allocations: 0.65 MB / 0.4931 GB, free: 9.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.2281, allocations: 1.053 MB / 0.4942 GB, free: 8.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.2281, allocations: 4 kB / 0.4942 GB, free: 8.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003131/0.2312, allocations: 1.631 MB / 0.4958 GB, free: 6.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.2313, allocations: 8 kB / 0.4958 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.2313, allocations: 12 kB / 0.4958 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.2328, allocations: 485.7 kB / 0.4963 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006399/0.2335, allocations: 171.7 kB / 0.4964 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2933/0.5268, allocations: 6.507 MB / 0.5028 GB, free: 53.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009339/0.5278, allocations: 46.58 kB / 0.5028 GB, free: 53.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.674e-05/0.5279, allocations: 49.52 kB / 0.5029 GB, free: 53.69 MB / 382.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.0006366/0.5285, allocations: 355.5 kB / 0.5032 GB, free: 53.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.5287, allocations: 83.59 kB / 0.5033 GB, free: 53.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.531, allocations: 1.12 MB / 0.5044 GB, free: 53.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.531, allocations: 12 kB / 0.5044 GB, free: 53.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.531, allocations: 1.375 kB / 0.5044 GB, free: 53.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.531, allocations: 6.5 kB / 0.5044 GB, free: 53.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004101/0.5351, allocations: 2.112 MB / 0.5065 GB, free: 52.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/0.5352, allocations: 1.656 kB / 0.5065 GB, free: 52.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007627/0.5359, allocations: 133.3 kB / 0.5066 GB, free: 52.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005984/0.5365, allocations: 157.3 kB / 0.5067 GB, free: 52.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.495e-05/0.5366, allocations: 23.14 kB / 0.5068 GB, free: 52.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00363/0.5403, allocations: 4.456 MB / 0.5111 GB, free: 48.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.5403, allocations: 8.688 kB / 0.5111 GB, free: 48.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.5428, allocations: 1.531 MB / 0.5126 GB, free: 48.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003734/0.5431, allocations: 217.9 kB / 0.5128 GB, free: 48.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.5433, allocations: 17.89 kB / 0.5128 GB, free: 48.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/0.5437, allocations: 34.67 kB / 0.5129 GB, free: 48.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.5439, allocations: 48.3 kB / 0.5129 GB, free: 48.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.944e-05/0.5439, allocations: 26.25 kB / 0.5129 GB, free: 48.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008444/0.5448, allocations: 0.5096 MB / 0.5134 GB, free: 47.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5448, allocations: 0 / 0.5134 GB, free: 47.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001263/0.5461, allocations: 269.3 kB / 0.5137 GB, free: 47.89 MB / 382.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.001077/0.5472, allocations: 428.7 kB / 0.5141 GB, free: 47.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002688/0.5499, allocations: 1.322 MB / 0.5154 GB, free: 47.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5499, allocations: 0 / 0.5154 GB, free: 47.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.5512, allocations: 0.7885 MB / 0.5162 GB, free: 46.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.5525, allocations: 201.8 kB / 0.5164 GB, free: 46.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005222/0.5578, allocations: 3.386 MB / 0.5197 GB, free: 44.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009311/0.5587, allocations: 1.145 MB / 0.5208 GB, free: 43.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/0.559, allocations: 76.08 kB / 0.5209 GB, free: 43.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.493e-06/0.5591, allocations: 0 / 0.5209 GB, free: 43.8 MB / 382.1 MB Notification: Performance of Templates: time 0.02744/0.5865, allocations: 22.69 MB / 0.543 GB, free: 28.09 MB / 382.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