Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.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.ASM_Y_D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|asm_Y_D.motor.slip|frictTorq.flange.tau|frictTorq.w|loadInertia.flange_a.tau|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|asm_Y_D.motor.slip|frictTorq.flange.tau|frictTorq.w|loadInertia.flange_a.tau|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 106.3 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.0009324/0.0009323, 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 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241.7 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1677/0.1677, allocations: 38.05 MB / 329.9 MB, free: 9.117 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 57.27 kB / 398.7 MB, free: 34.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1232, allocations: 58.05 MB / 456.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.00878/0.132, allocations: 6.759 MB / 463.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007172/0.1392, allocations: 4.932 MB / 468.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007349/0.14, allocations: 39.75 kB / 468.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008315/0.1483, allocations: 4.808 MB / 473.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.1496, allocations: 410.4 kB / 473.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000747/0.1503, allocations: 255.6 kB / 474 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002505/0.1529, allocations: 2.292 MB / 476.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000875/0.1537, allocations: 0.6102 MB / 476.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005709/0.1543, allocations: 406.4 kB / 477.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006238/0.155, allocations: 0.5216 MB / 477.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.898e-05/0.155, allocations: 40 kB / 477.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.1553, allocations: 123.8 kB / 478 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.1556, allocations: 299.2 kB / 478.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003614/0.156, allocations: 370.1 kB / 478.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007101/0.1567, allocations: 0.8185 MB / 479.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1567, allocations: 8 kB / 479.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1568, allocations: 0 / 479.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1568, allocations: 0 / 479.4 MB, free: 1.863 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001846/0.1586, allocations: 1.024 MB / 480.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1587, allocations: 8.031 kB / 480.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004231/0.1591, allocations: 100 kB / 480.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.1601, allocations: 0.6038 MB / 481.2 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.1602, allocations: 75 kB / 481.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.1603, allocations: 67.89 kB / 481.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.1615, allocations: 0.8099 MB / 482.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.1616, allocations: 0 / 482.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.975e-05/0.1616, allocations: 27.98 kB / 482.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.1618, allocations: 53.22 kB / 482.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008843/0.1627, allocations: 0.5906 MB / 482.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003709/0.1664, allocations: 2.938 MB / 485.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007533/0.1671, allocations: 430.1 kB / 486.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.1675, allocations: 234.6 kB / 486.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.1675, allocations: 4 kB / 486.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000466/0.168, allocations: 342.5 kB / 486.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.633e-06/0.168, allocations: 0 / 486.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003017/0.171, allocations: 2.04 MB / 488.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.506e-05/0.1711, allocations: 144.4 kB / 488.9 MB, free: 7.918 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000475/0.1716, allocations: 453.8 kB / 489.3 MB, free: 7.461 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.1716, allocations: 29.7 kB / 489.4 MB, free: 7.426 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.1719, allocations: 331.9 kB / 489.7 MB, free: 7.098 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.172, allocations: 165.7 kB / 489.9 MB, free: 6.934 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.1722, allocations: 114.2 kB / 490 MB, free: 6.812 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1724, allocations: 362.8 kB / 490.3 MB, free: 6.449 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.1727, allocations: 233.2 kB / 490.5 MB, free: 6.223 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005736/0.1733, allocations: 393.7 kB / 490.9 MB, free: 5.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003739/0.1771, allocations: 1.32 MB / 492.3 MB, free: 4.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1771, allocations: 0 / 492.3 MB, free: 4.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002482/0.1796, allocations: 0.9708 MB / 493.2 MB, free: 3.359 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.44e-05/0.1797, allocations: 33.7 kB / 493.3 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.1797, allocations: 4 kB / 493.3 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.181, allocations: 313.6 kB / 493.6 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.1823, allocations: 175.7 kB / 493.7 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009096/0.1915, allocations: 4.844 MB / 498.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006353/0.1921, allocations: 23.98 kB / 498.6 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/0.1922, allocations: 24 kB / 498.6 MB, free: 13.68 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.asm_Y_D.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (system.initime,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,relay1.y,$PRE.relay1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 49 * Array equations: 0 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0006082/0.1928, allocations: 303.3 kB / 498.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.193, allocations: 51.34 kB / 499 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.1946, allocations: 0.8055 MB / 499.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.1947, allocations: 4 kB / 499.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1947, allocations: 4 kB / 499.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1947, allocations: 4 kB / 499.8 MB, free: 12.44 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.1979, allocations: 1.671 MB / 0.4897 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.1979, allocations: 4 kB / 0.4897 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/0.1996, allocations: 191.9 kB / 0.4899 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002936/0.1999, allocations: 74.53 kB / 0.49 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-05/0.1999, allocations: 19.98 kB / 0.49 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003849/0.2038, allocations: 3.957 MB / 0.4939 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.2038, allocations: 4.031 kB / 0.4939 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.2058, allocations: 1.134 MB / 0.495 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/0.2061, allocations: 164.4 kB / 0.4951 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.2063, allocations: 19.94 kB / 0.4951 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.2067, allocations: 15.98 kB / 0.4952 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.2069, allocations: 35.89 kB / 0.4952 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/0.2069, allocations: 15.98 kB / 0.4952 GB, free: 4.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005524/0.2075, allocations: 315.1 kB / 0.4955 GB, free: 4.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2075, allocations: 4 kB / 0.4955 GB, free: 4.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000738/0.2083, allocations: 160 kB / 0.4957 GB, free: 4.043 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asm_Y_D.motor.i[3],asm_Y_D.motor.psi_s[1],asm_Y_D.motor.psi_s[2],asm_Y_D.motor.psi_rd[1],asm_Y_D.motor.psi_rq[1],loadInertia.w,frictTorq.phi) * Number of discrete variables: 4 ($whenCondition1,relay1.y,relay1.cnt,system.initime) * Number of discrete states: 3 (relay1.y,relay1.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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,1,100.0%), (1,1,100.0%), (1,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.0001786/0.2085, allocations: 115.2 kB / 0.4958 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.2102, allocations: 0.9685 MB / 0.4967 GB, free: 2.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2102, allocations: 4.062 kB / 0.4967 GB, free: 2.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007688/0.211, allocations: 0.645 MB / 0.4973 GB, free: 2.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006949/0.2117, allocations: 132.7 kB / 0.4975 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.2144, allocations: 1.989 MB / 0.4994 GB, free: 60 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006317/0.215, allocations: 0.9799 MB / 0.5004 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.2152, allocations: 43.42 kB / 0.5004 GB, free: 15.01 MB / 398.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2152, allocations: 0 / 0.5004 GB, free: 15.01 MB / 398.1 MB Notification: Performance of Templates: time 0.01626/0.2314, allocations: 14.63 MB / 0.5147 GB, free: 396 kB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.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_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_DCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_DCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_DCalcHelperMain.o] Error 1