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.0007797/0.0007796, allocations: 91.8 kB / 16.95 MB, free: 5.602 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.0009269/0.000927, allocations: 184 kB / 17.85 MB, free: 5.27 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.33/1.33, allocations: 223.2 MB / 241.8 MB, free: 344 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1686/0.1686, allocations: 38.09 MB / 331.1 MB, free: 8.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002902/0.0002902, allocations: 12 kB / 400.7 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1056, allocations: 59.16 MB / 459.9 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.007895/0.1135, allocations: 7.452 MB / 467.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00807/0.1216, allocations: 5.111 MB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007725/0.1224, allocations: 59.62 kB / 472.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009354/0.1318, allocations: 5.357 MB / 477.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.1337, allocations: 0.5597 MB / 478.4 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.1351, allocations: 451.2 kB / 478.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002916/0.138, allocations: 2.538 MB / 481.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.1395, allocations: 0.9677 MB / 482.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007656/0.1402, allocations: 0.4979 MB / 482.9 MB, free: 340 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008244/0.1411, allocations: 0.7047 MB / 483.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.295e-05/0.1412, allocations: 48 kB / 483.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004273/0.1416, allocations: 167.8 kB / 483.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003851/0.142, allocations: 442.8 kB / 484.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.1422, allocations: 229.1 kB / 484.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.1433, allocations: 1.177 MB / 485.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1433, allocations: 0 / 485.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1433, allocations: 0 / 485.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1433, allocations: 4 kB / 485.6 MB, free: 13.57 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.002319/0.1456, allocations: 1.265 MB / 486.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1457, allocations: 8.031 kB / 486.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005457/0.1462, allocations: 154.5 kB / 487 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.1477, allocations: 0.8511 MB / 487.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/0.1477, allocations: 58 kB / 487.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.1479, allocations: 91.98 kB / 488 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.1496, allocations: 1.228 MB / 489.3 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.1497, allocations: 3.984 kB / 489.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-05/0.1498, allocations: 35.94 kB / 489.3 MB, free: 9.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000202/0.15, allocations: 85.95 kB / 489.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.1515, allocations: 0.9992 MB / 490.4 MB, free: 8.629 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006438/0.158, allocations: 4.936 MB / 495.3 MB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009262/0.159, allocations: 0.6536 MB / 496 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005248/0.1595, allocations: 355.3 kB / 496.3 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.883e-05/0.1596, allocations: 12.66 kB / 496.3 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006594/0.1602, allocations: 445.7 kB / 496.8 MB, free: 1.969 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.534e-06/0.1602, allocations: 3.938 kB / 496.8 MB, free: 1.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004702/0.1649, allocations: 2.739 MB / 499.5 MB, free: 15.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.165, allocations: 115.4 kB / 499.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008939/0.1659, allocations: 0.7467 MB / 0.4886 GB, free: 14.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/0.166, allocations: 33.7 kB / 0.4887 GB, free: 14.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/0.1664, allocations: 0.4948 MB / 0.4892 GB, free: 13.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.1666, allocations: 244.5 kB / 0.4894 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.1666, allocations: 19.94 kB / 0.4894 GB, free: 13.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1668, allocations: 402.7 kB / 0.4898 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006006/0.1674, allocations: 365.8 kB / 0.4901 GB, free: 12.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000812/0.1683, allocations: 0.65 MB / 0.4908 GB, free: 11.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007035/0.169, allocations: 483 kB / 0.4912 GB, free: 11.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.169, allocations: 4 kB / 0.4912 GB, free: 11.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002879/0.1719, allocations: 1.619 MB / 0.4928 GB, free: 9.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.1719, allocations: 8 kB / 0.4928 GB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.1719, allocations: 12 kB / 0.4928 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.1733, allocations: 485.8 kB / 0.4933 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005906/0.1739, allocations: 167.7 kB / 0.4935 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008511/0.1824, allocations: 6.501 MB / 0.4998 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/0.183, allocations: 44.05 kB / 0.4999 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/0.1831, allocations: 47.98 kB / 0.4999 GB, free: 2.199 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {6 23} Notification: Performance of prepare postOptimizeDAE: time 0.0005185/0.1836, allocations: 349.5 kB / 0.5002 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1837, allocations: 90.91 kB / 0.5003 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.1854, allocations: 1.118 MB / 0.5014 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.1854, allocations: 11.98 kB / 0.5014 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1855, allocations: 0 / 0.5014 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.1855, allocations: 0 / 0.5014 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2416/0.4271, allocations: 2.11 MB / 0.5035 GB, free: 55.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.4271, allocations: 2.828 kB / 0.5035 GB, free: 55.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000687/0.4278, allocations: 126.4 kB / 0.5036 GB, free: 55.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004697/0.4283, allocations: 161.1 kB / 0.5038 GB, free: 55.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.067e-05/0.4284, allocations: 25.56 kB / 0.5038 GB, free: 55.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00321/0.4316, allocations: 4.45 MB / 0.5081 GB, free: 51.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4316, allocations: 2.078 kB / 0.5081 GB, free: 51.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.434, allocations: 1.516 MB / 0.5096 GB, free: 51.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.4344, allocations: 224.1 kB / 0.5098 GB, free: 51.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.4345, allocations: 18.05 kB / 0.5098 GB, free: 51.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.4349, allocations: 35.64 kB / 0.5099 GB, free: 51.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.435, allocations: 54.34 kB / 0.5099 GB, free: 51.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/0.4351, allocations: 23.11 kB / 0.51 GB, free: 51.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007888/0.4359, allocations: 0.5036 MB / 0.5104 GB, free: 50.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4359, allocations: 0 / 0.5104 GB, free: 50.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001149/0.4371, allocations: 265.7 kB / 0.5107 GB, free: 50.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009898/0.4381, allocations: 424.2 kB / 0.5111 GB, free: 50.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002486/0.4406, allocations: 1.333 MB / 0.5124 GB, free: 50.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.4406, allocations: 1.062 kB / 0.5124 GB, free: 50.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.4417, allocations: 0.7739 MB / 0.5132 GB, free: 49.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.4428, allocations: 202.5 kB / 0.5134 GB, free: 49.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004684/0.4474, allocations: 3.333 MB / 0.5166 GB, free: 47.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/0.4486, allocations: 1.141 MB / 0.5177 GB, free: 46.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.4489, allocations: 76.81 kB / 0.5178 GB, free: 46.95 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4489, allocations: 4 kB / 0.5178 GB, free: 46.94 MB / 382.1 MB Notification: Performance of Templates: time 0.02804/0.4769, allocations: 22.72 MB / 0.54 GB, free: 31.81 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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