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.0009232/0.0009233, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.0008911/0.000891, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.189/1.189, allocations: 205.1 MB / 223.9 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.158/0.158, allocations: 38 MB / 309.3 MB, free: 6.223 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.001245/0.001246, allocations: 67.19 kB / 375.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1734, allocations: 55.25 MB / 430.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.00627/0.1797, allocations: 8.657 MB / 439.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005388/0.1851, allocations: 5.739 MB / 444.9 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004388/0.1856, allocations: 55.62 kB / 445 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006917/0.1925, allocations: 5.686 MB / 450.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.1937, allocations: 0.646 MB / 451.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009405/0.1947, allocations: 462 kB / 451.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003352/0.198, allocations: 3.415 MB / 455.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.1996, allocations: 1.151 MB / 456.3 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.2007, allocations: 0.6654 MB / 457 MB, free: 9.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.2019, allocations: 0.9462 MB / 457.9 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.2021, allocations: 84 kB / 458 MB, free: 8.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.2033, allocations: 0.6435 MB / 458.7 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006286/0.204, allocations: 0.6 MB / 459.3 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007595/0.2048, allocations: 0.6841 MB / 459.9 MB, free: 6.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.2066, allocations: 1.727 MB / 461.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2067, allocations: 0 / 461.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.2067, allocations: 0 / 461.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.436e-05/0.2067, allocations: 3.938 kB / 461.7 MB, free: 4.527 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.00395/0.2107, allocations: 1.952 MB / 463.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2107, allocations: 8.031 kB / 463.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000595/0.2113, allocations: 175.2 kB / 463.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.2129, allocations: 1.014 MB / 464.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.213, allocations: 183.1 kB / 465 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.2132, allocations: 108 kB / 465.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002778/0.216, allocations: 1.863 MB / 467 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.2161, allocations: 7.906 kB / 467 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.2162, allocations: 43.97 kB / 467 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002605/0.2165, allocations: 125.9 kB / 467.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/0.219, allocations: 1.604 MB / 468.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007161/0.2262, allocations: 5.747 MB / 474.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/0.2284, allocations: 1.192 MB / 475.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.2297, allocations: 0.7386 MB / 476.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.965e-05/0.2298, allocations: 21.14 kB / 476.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001588/0.2314, allocations: 0.9804 MB / 477.4 MB, free: 4.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 2.785e-06/0.2314, allocations: 0 / 477.4 MB, free: 4.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=119): time 0.00847/0.2399, allocations: 4.673 MB / 482.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.24, allocations: 131.8 kB / 482.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008695/0.2408, allocations: 0.782 MB / 483 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.112e-05/0.2409, allocations: 61.69 kB / 483.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.2413, allocations: 0.5037 MB / 483.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.2416, allocations: 406.2 kB / 484 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003391/0.2419, allocations: 250.7 kB / 484.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2421, allocations: 418.7 kB / 484.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009046/0.243, allocations: 0.6865 MB / 485.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.2441, allocations: 0.9725 MB / 486.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/0.246, allocations: 1.674 MB / 487.9 MB, free: 9.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.246, allocations: 4 kB / 487.9 MB, free: 9.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003431/0.2495, allocations: 2.318 MB / 490.3 MB, free: 7.016 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.003e-05/0.2496, allocations: 65.67 kB / 490.3 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.2496, allocations: 8 kB / 490.3 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.2508, allocations: 409.3 kB / 490.7 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007424/0.2515, allocations: 223.6 kB / 491 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006672/0.2582, allocations: 5.708 MB / 496.7 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008602/0.2591, allocations: 99.8 kB / 496.8 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/0.2593, allocations: 87.94 kB / 496.8 MB, free: 164 kB / 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,inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 1 * 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 {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0007347/0.26, allocations: 461.4 kB / 497.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.2603, allocations: 106.7 kB / 497.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003669/0.264, allocations: 1.97 MB / 499.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-05/0.264, allocations: 24 kB / 499.4 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.264, allocations: 8 kB / 499.4 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.2641, allocations: 7.969 kB / 499.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005536/0.2696, allocations: 3.423 MB / 0.491 GB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2696, allocations: 0 / 0.491 GB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008517/0.2705, allocations: 171.7 kB / 0.4912 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004873/0.271, allocations: 158.4 kB / 0.4914 GB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.2711, allocations: 35.97 kB / 0.4914 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003486/0.2746, allocations: 4.458 MB / 0.4958 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.2746, allocations: 7.875 kB / 0.4958 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004853/0.2795, allocations: 2.89 MB / 0.4986 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004865/0.28, allocations: 311.6 kB / 0.4989 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000277/0.2802, allocations: 83.89 kB / 0.499 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008744/0.2811, allocations: 115.8 kB / 0.4991 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.2813, allocations: 72.89 kB / 0.4991 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-05/0.2814, allocations: 39.97 kB / 0.4992 GB, free: 1.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000686/0.2821, allocations: 0.538 MB / 0.4997 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2821, allocations: 0 / 0.4997 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001131/0.2833, allocations: 352.1 kB / 0.5 GB, free: 296 kB / 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 (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.001083/0.2844, allocations: 0.5115 MB / 0.5005 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003726/0.2881, allocations: 2.298 MB / 0.5028 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2881, allocations: 384 / 0.5028 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002025/0.2902, allocations: 1.216 MB / 0.504 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.2913, allocations: 243.5 kB / 0.5042 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005712/0.297, allocations: 4.01 MB / 0.5081 GB, free: 7.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000911/0.298, allocations: 1.273 MB / 0.5094 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/0.2983, allocations: 95.34 kB / 0.5095 GB, free: 6.547 MB / 398.1 MB Notification: Performance of SimCode: time 1.783e-06/0.2984, allocations: 0 / 0.5095 GB, free: 6.547 MB / 398.1 MB Notification: Performance of Templates: time 0.1752/0.4736, allocations: 29.44 MB / 0.5382 GB, free: 73.44 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++ -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/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