Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007208/0.0007207, allocations: 90.67 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.000793/0.0007931, allocations: 177 kB / 18.21 MB, free: 5.191 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.539/1.539, allocations: 223.2 MB / 242.2 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1969/0.1969, allocations: 38.1 MB / 331.5 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 8.938 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1385, allocations: 59.17 MB / 460.5 MB, free: 7.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.006219/0.1448, allocations: 4.775 MB / 465.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002732/0.1475, allocations: 1.671 MB / 467 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003223/0.1479, allocations: 27.81 kB / 467 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.1483, allocations: 95.41 kB / 467.1 MB, free: 460 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000694/0.149, allocations: 246.7 kB / 467.3 MB, free: 212 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.1493, allocations: 103.8 kB / 467.4 MB, free: 108 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.1504, allocations: 0.6307 MB / 468.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.1507, allocations: 131.4 kB / 468.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003711/0.1511, allocations: 179.1 kB / 468.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.1515, allocations: 207.1 kB / 468.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.117e-05/0.1516, allocations: 16 kB / 468.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.525e-05/0.1517, allocations: 19.94 kB / 468.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.1519, allocations: 83.72 kB / 468.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.1521, allocations: 192.7 kB / 468.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.1525, allocations: 275.3 kB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1526, allocations: 0 / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1526, allocations: 0 / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.1526, allocations: 4 kB / 469.2 MB, free: 14.38 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001695/0.1543, allocations: 0.601 MB / 469.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.1544, allocations: 12.03 kB / 469.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.1545, allocations: 44.38 kB / 469.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009762/0.1555, allocations: 379.7 kB / 470.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.1555, allocations: 20.5 kB / 470.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.1556, allocations: 28 kB / 470.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.1561, allocations: 338.2 kB / 470.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.1561, allocations: 0 / 470.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.1562, allocations: 12 kB / 470.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.1562, allocations: 4 kB / 470.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004226/0.1566, allocations: 205.5 kB / 470.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.1586, allocations: 1.49 MB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.1591, allocations: 206.2 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.1592, allocations: 79.53 kB / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1592, allocations: 4 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.1593, allocations: 42.56 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.1593, allocations: 0 / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001142/0.1604, allocations: 0.6895 MB / 473.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/0.1606, allocations: 132.5 kB / 473.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.1609, allocations: 309.7 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.161, allocations: 33.7 kB / 473.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.1613, allocations: 215.8 kB / 474 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.603e-05/0.1614, allocations: 67.03 kB / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.1614, allocations: 29.66 kB / 474 MB, free: 9.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002433/0.1617, allocations: 346.9 kB / 474.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/0.1618, allocations: 51.95 kB / 474.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.1619, allocations: 144.8 kB / 474.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.1622, allocations: 220.7 kB / 474.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1622, allocations: 0 / 474.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003761/0.1626, allocations: 260.9 kB / 475 MB, free: 7.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1626, allocations: 7.938 kB / 475.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.1626, allocations: 4 kB / 475.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.1627, allocations: 7.938 kB / 475.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/0.163, allocations: 88.33 kB / 475.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.164, allocations: 1.282 MB / 476.4 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.1642, allocations: 8 kB / 476.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.1642, allocations: 8 kB / 476.5 MB, free: 6.441 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001878/0.1644, allocations: 165.8 kB / 476.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.654e-05/0.1645, allocations: 39.5 kB / 476.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003663/0.1649, allocations: 187.4 kB / 476.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1649, allocations: 8.125 kB / 476.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1649, allocations: 0 / 476.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.1649, allocations: 7.938 kB / 476.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008632/0.1658, allocations: 0.5374 MB / 477.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1658, allocations: 4 kB / 477.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.166, allocations: 43.91 kB / 477.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.166, allocations: 0 / 477.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.1661, allocations: 8 kB / 477.4 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1661, allocations: 8 kB / 477.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1661, allocations: 0 / 477.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005765/0.1667, allocations: 490.4 kB / 477.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.467e-05/0.1667, allocations: 104.7 kB / 478 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.1668, allocations: 4.094 kB / 478 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.167, allocations: 12.03 kB / 478 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.167, allocations: 19.97 kB / 478.1 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.167, allocations: 8 kB / 478.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.1673, allocations: 223.1 kB / 478.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1673, allocations: 0 / 478.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004293/0.1677, allocations: 60 kB / 478.4 MB, free: 4.438 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001273/0.1678, allocations: 107.1 kB / 478.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003862/0.1682, allocations: 167.7 kB / 478.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1682, allocations: 0 / 478.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.1684, allocations: 63.92 kB / 478.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008017/0.1692, allocations: 96.59 kB / 478.8 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.1708, allocations: 1.062 MB / 479.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007147/0.1715, allocations: 0.7992 MB / 480.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.604e-05/0.1716, allocations: 27.44 kB / 480.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1716, allocations: 0 / 480.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of Templates: time 0.008378/0.18, allocations: 4.669 MB / 485.3 MB, free: 13.4 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.AC1ph_DC.Elementary.MachinesCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.MachinesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.MachinesCalcHelperMain.o] Error 1