Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008232/0.0008231, allocations: 95.53 kB / 16.95 MB, free: 5.953 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.0008232/0.0008232, allocations: 179.4 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1835/0.1835, allocations: 38.06 MB / 310.3 MB, free: 6.031 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005449/0.0005451, allocations: 12 kB / 377.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2983, allocations: 56.33 MB / 433.5 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.008355/0.3067, allocations: 7.74 MB / 441.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008948/0.3157, allocations: 5.216 MB / 446.4 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.3174, allocations: 51.69 kB / 446.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01049/0.3279, allocations: 5.345 MB / 451.8 MB, free: 424 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.3311, allocations: 0.7 MB / 452.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.3332, allocations: 443.1 kB / 453 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00521/0.3384, allocations: 2.939 MB / 455.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003022/0.3415, allocations: 1.242 MB / 457.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.3433, allocations: 0.6382 MB / 457.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.3453, allocations: 0.8824 MB / 458.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005029/0.3459, allocations: 60 kB / 458.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.3478, allocations: 0.5811 MB / 459.3 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.349, allocations: 0.5727 MB / 459.9 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008798/0.3499, allocations: 285 kB / 460.2 MB, free: 8.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.3525, allocations: 1.683 MB / 461.8 MB, free: 6.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3525, allocations: 0 / 461.8 MB, free: 6.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3526, allocations: 0 / 461.8 MB, free: 6.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.923e-05/0.3526, allocations: 0 / 461.8 MB, free: 6.332 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.004755/0.3574, allocations: 1.695 MB / 463.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.3575, allocations: 12.03 kB / 463.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.3585, allocations: 186.1 kB / 463.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/0.3611, allocations: 0.9836 MB / 464.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.3614, allocations: 183.1 kB / 464.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/0.3616, allocations: 108 kB / 465 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003437/0.3651, allocations: 1.879 MB / 466.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.3651, allocations: 7.906 kB / 466.9 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.3653, allocations: 43.98 kB / 466.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002803/0.3655, allocations: 129.9 kB / 467.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002826/0.3684, allocations: 1.62 MB / 468.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008498/0.3769, allocations: 5.763 MB / 474.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.3793, allocations: 1.238 MB / 475.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.3808, allocations: 0.7659 MB / 476.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.976e-05/0.3809, allocations: 16.98 kB / 476.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001649/0.3826, allocations: 1.008 MB / 477.5 MB, free: 6.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.367e-06/0.3826, allocations: 0 / 477.5 MB, free: 6.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=119): time 0.00978/0.3924, allocations: 4.81 MB / 482.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.3925, allocations: 123.8 kB / 482.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.3936, allocations: 0.7858 MB / 483.2 MB, free: 380 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.196e-05/0.3937, allocations: 53.7 kB / 483.2 MB, free: 320 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005195/0.3943, allocations: 0.5117 MB / 483.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003749/0.3947, allocations: 402.3 kB / 484.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-05/0.3947, allocations: 24 kB / 484.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002482/0.395, allocations: 418.5 kB / 484.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.3961, allocations: 0.6708 MB / 485.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.3973, allocations: 0.9529 MB / 486.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.3985, allocations: 0.8237 MB / 487 MB, free: 12.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3986, allocations: 4 kB / 487 MB, free: 12.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003849/0.4024, allocations: 2.278 MB / 489.3 MB, free: 10.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.892e-05/0.4025, allocations: 69.73 kB / 489.4 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.4026, allocations: 8 kB / 489.4 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.4038, allocations: 429.2 kB / 489.8 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008074/0.4046, allocations: 207.7 kB / 490 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007746/0.4124, allocations: 5.684 MB / 495.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009322/0.4134, allocations: 107.7 kB / 495.8 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.4135, allocations: 87.88 kB / 495.9 MB, free: 3.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 29 (system.initime,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.inverter.modulator.gates[1],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[6],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.t0[1],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 7 * 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 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0008969/0.4144, allocations: 465.4 kB / 496.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.4147, allocations: 106.8 kB / 496.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003842/0.4185, allocations: 1.997 MB / 498.4 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-05/0.4186, allocations: 24 kB / 498.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4186, allocations: 7.938 kB / 498.5 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.821e-05/0.4186, allocations: 11.92 kB / 498.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00592/0.4245, allocations: 3.463 MB / 0.4902 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4246, allocations: 0 / 0.4902 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008731/0.4254, allocations: 171.7 kB / 0.4903 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004858/0.4259, allocations: 166.5 kB / 0.4905 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.591e-05/0.426, allocations: 35.97 kB / 0.4905 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003938/0.43, allocations: 4.446 MB / 0.4949 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.43, allocations: 3.938 kB / 0.4949 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005251/0.4353, allocations: 2.949 MB / 0.4978 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000577/0.4359, allocations: 315.7 kB / 0.4981 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/0.4361, allocations: 79.94 kB / 0.4981 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008276/0.4369, allocations: 139.8 kB / 0.4983 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/0.4371, allocations: 76.83 kB / 0.4983 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-05/0.4372, allocations: 43.95 kB / 0.4984 GB, free: 4.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008743/0.4381, allocations: 0.5302 MB / 0.4989 GB, free: 3.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4381, allocations: 3.938 kB / 0.4989 GB, free: 3.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001491/0.4396, allocations: 356.1 kB / 0.4992 GB, free: 3.199 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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: 17 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3],system.initime) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 79 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.001147/0.4408, allocations: 496.6 kB / 0.4997 GB, free: 2.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004849/0.4457, allocations: 3.008 MB / 0.5026 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4457, allocations: 0 / 0.5026 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002121/0.4478, allocations: 1.241 MB / 0.5039 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.449, allocations: 227.5 kB / 0.5041 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006601/0.4557, allocations: 4.203 MB / 0.5082 GB, free: 9.898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.4568, allocations: 1.277 MB / 0.5094 GB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004433/0.4573, allocations: 95.41 kB / 0.5095 GB, free: 8.496 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4573, allocations: 0 / 0.5095 GB, free: 8.496 MB / 398.1 MB Notification: Performance of Templates: time 0.2801/0.7373, allocations: 31.15 MB / 0.5399 GB, free: 72.96 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMCalcHelperMain.o] Error 1