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.0007964/0.0007965, allocations: 90.38 kB / 17.31 MB, free: 5.59 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.0008452/0.0008452, allocations: 178.1 kB / 18.21 MB, free: 5.191 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.805/1.805, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1759/0.1759, allocations: 38.05 MB / 310.7 MB, free: 5.91 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.0005373/0.0005374, allocations: 12 kB / 377.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2949, allocations: 56.34 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.007622/0.3025, allocations: 8.19 MB / 442.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008226/0.3108, allocations: 5.638 MB / 448 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009249/0.3118, allocations: 51.69 kB / 448 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008241/0.32, allocations: 5.425 MB / 453.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002028/0.3221, allocations: 0.6538 MB / 454.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.3234, allocations: 453.7 kB / 454.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003834/0.3273, allocations: 3.419 MB / 458 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.3296, allocations: 1.357 MB / 459.3 MB, free: 9.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.3309, allocations: 0.6147 MB / 459.9 MB, free: 8.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.3323, allocations: 0.8955 MB / 460.8 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.3324, allocations: 64 kB / 460.9 MB, free: 7.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.3339, allocations: 0.6395 MB / 461.5 MB, free: 7.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006665/0.3345, allocations: 0.565 MB / 462.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000747/0.3353, allocations: 0.6779 MB / 462.8 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.3371, allocations: 1.695 MB / 464.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3372, allocations: 0 / 464.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.237e-06/0.3372, allocations: 0 / 464.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.3372, allocations: 0 / 464.5 MB, free: 4.207 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.00375/0.3409, allocations: 1.676 MB / 466.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.341, allocations: 8.031 kB / 466.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006279/0.3416, allocations: 179.1 kB / 466.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.3434, allocations: 1.015 MB / 467.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/0.3436, allocations: 183.1 kB / 467.5 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.3438, allocations: 111.9 kB / 467.6 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003156/0.3469, allocations: 1.883 MB / 469.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/0.347, allocations: 7.922 kB / 469.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.3471, allocations: 43.98 kB / 469.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002947/0.3474, allocations: 125.9 kB / 469.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/0.3502, allocations: 1.624 MB / 471.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007908/0.3581, allocations: 5.778 MB / 477.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.3607, allocations: 1.238 MB / 478.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.3622, allocations: 0.7621 MB / 479.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.766e-05/0.3623, allocations: 21.08 kB / 479.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001807/0.3641, allocations: 1 MB / 480.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.526e-06/0.3641, allocations: 7.938 kB / 480.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=119): time 0.009816/0.3739, allocations: 4.79 MB / 484.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.654e-05/0.374, allocations: 127.8 kB / 485 MB, free: 15.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.3751, allocations: 0.7819 MB / 485.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.3752, allocations: 61.69 kB / 485.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000451/0.3757, allocations: 0.5037 MB / 486.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000369/0.3761, allocations: 406.3 kB / 486.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.3762, allocations: 125.6 kB / 486.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002401/0.3765, allocations: 414.7 kB / 487.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.3775, allocations: 0.6943 MB / 488 MB, free: 12.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.3787, allocations: 0.9686 MB / 489 MB, free: 10.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002236/0.381, allocations: 1.678 MB / 490.6 MB, free: 9.168 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.381, allocations: 0 / 490.6 MB, free: 9.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00387/0.3849, allocations: 2.325 MB / 493 MB, free: 6.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.344e-05/0.3849, allocations: 61.67 kB / 493 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.385, allocations: 8.312 kB / 493 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.3862, allocations: 417.3 kB / 493.4 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007928/0.387, allocations: 223.6 kB / 493.7 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007819/0.3949, allocations: 5.704 MB / 499.4 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.3959, allocations: 103.9 kB / 499.5 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.3961, allocations: 87.88 kB / 499.6 MB, free: 15.94 MB / 382.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.0008765/0.397, allocations: 461.3 kB / 0.4883 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/0.3973, allocations: 106.7 kB / 0.4884 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004014/0.4013, allocations: 2.013 MB / 0.4904 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.572e-05/0.4014, allocations: 27.94 kB / 0.4904 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4014, allocations: 4 kB / 0.4904 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.4014, allocations: 11.97 kB / 0.4904 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005999/0.4074, allocations: 3.474 MB / 0.4938 GB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.4074, allocations: 0 / 0.4938 GB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009103/0.4084, allocations: 175.7 kB / 0.494 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005103/0.4089, allocations: 162.3 kB / 0.4941 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.919e-05/0.409, allocations: 35.97 kB / 0.4941 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003922/0.4129, allocations: 4.462 MB / 0.4985 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4129, allocations: 3.938 kB / 0.4985 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005507/0.4184, allocations: 2.964 MB / 0.5014 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005864/0.419, allocations: 315.6 kB / 0.5017 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/0.4194, allocations: 87.88 kB / 0.5018 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000962/0.4203, allocations: 131.8 kB / 0.5019 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/0.4205, allocations: 76.88 kB / 0.502 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.032e-05/0.4206, allocations: 43.97 kB / 0.502 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007726/0.4214, allocations: 0.5341 MB / 0.5026 GB, free: 212 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4214, allocations: 7.938 kB / 0.5026 GB, free: 204 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001395/0.4228, allocations: 352.1 kB / 0.5029 GB, free: 15.86 MB / 398.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.001272/0.4241, allocations: 0.4995 MB / 0.5034 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00422/0.4283, allocations: 2.324 MB / 0.5057 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4284, allocations: 0 / 0.5057 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002212/0.4306, allocations: 1.241 MB / 0.5069 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.4319, allocations: 239.4 kB / 0.5071 GB, free: 11.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006447/0.4383, allocations: 4.275 MB / 0.5113 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.4395, allocations: 1.281 MB / 0.5125 GB, free: 5.902 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/0.44, allocations: 87.42 kB / 0.5126 GB, free: 5.816 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.44, allocations: 4 kB / 0.5126 GB, free: 5.812 MB / 398.1 MB Notification: Performance of Templates: time 0.2859/0.7259, allocations: 29.31 MB / 0.5412 GB, free: 72.31 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