Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadwithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadwithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 103.9 kB / 16.03 MB, free: 6.348 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.00123/0.00123, allocations: 196.7 kB / 16.95 MB, free: 6.172 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.246/1.246, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.03946/0.03946, allocations: 8.099 MB / 298.9 MB, free: 6.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 55.91 kB / 361.3 MB, free: 8.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1651, allocations: 51.52 MB / 412.8 MB, free: 25.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.002147/0.1673, allocations: 1.774 MB / 414.6 MB, free: 23.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1683, allocations: 1.337 MB / 415.9 MB, free: 22.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.746e-05/0.1684, allocations: 4 kB / 416 MB, free: 22.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.1686, allocations: 75.67 kB / 416 MB, free: 22.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.1688, allocations: 87.52 kB / 416.1 MB, free: 22.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006318/0.1694, allocations: 426.6 kB / 416.5 MB, free: 22.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.1696, allocations: 218.9 kB / 416.7 MB, free: 21.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.1697, allocations: 118.3 kB / 416.9 MB, free: 21.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.208e-05/0.1698, allocations: 95.64 kB / 417 MB, free: 21.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.17, allocations: 143.4 kB / 417.1 MB, free: 21.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.17, allocations: 20 kB / 417.1 MB, free: 21.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.1702, allocations: 127.9 kB / 417.2 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.1702, allocations: 47.84 kB / 417.3 MB, free: 21.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.592e-05/0.1703, allocations: 123.3 kB / 417.4 MB, free: 21.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.1705, allocations: 329.2 kB / 417.7 MB, free: 20.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1705, allocations: 4 kB / 417.7 MB, free: 20.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1705, allocations: 0 / 417.7 MB, free: 20.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1706, allocations: 0 / 417.7 MB, free: 20.82 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001332/0.1719, allocations: 0.6657 MB / 418.4 MB, free: 20.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.1719, allocations: 11.89 kB / 418.4 MB, free: 20.1 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.172, allocations: 58.73 kB / 418.5 MB, free: 20.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.172, allocations: 32.62 kB / 418.5 MB, free: 20 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.1722, allocations: 212 kB / 418.7 MB, free: 19.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1722, allocations: 12.94 kB / 418.7 MB, free: 19.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.1722, allocations: 20.38 kB / 418.7 MB, free: 19.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.1726, allocations: 296.1 kB / 419 MB, free: 19.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1726, allocations: 3.938 kB / 419 MB, free: 19.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.1726, allocations: 15.94 kB / 419 MB, free: 19.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1726, allocations: 4 kB / 419 MB, free: 19.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.1729, allocations: 245.2 kB / 419.3 MB, free: 19.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009926/0.1739, allocations: 0.9606 MB / 420.2 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006018/0.1745, allocations: 370.4 kB / 420.6 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.583e-05/0.1746, allocations: 93.83 kB / 420.7 MB, free: 17.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.1746, allocations: 4 kB / 420.7 MB, free: 17.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.1747, allocations: 38.56 kB / 420.7 MB, free: 17.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.824e-06/0.1747, allocations: 4 kB / 420.7 MB, free: 17.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0008888/0.1756, allocations: 0.5168 MB / 421.3 MB, free: 17.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.1756, allocations: 85.11 kB / 421.3 MB, free: 16.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1757, allocations: 194.6 kB / 421.5 MB, free: 16.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1758, allocations: 33.7 kB / 421.6 MB, free: 16.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.1758, allocations: 144 kB / 421.7 MB, free: 16.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.1759, allocations: 78.92 kB / 421.8 MB, free: 16.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.465e-05/0.1759, allocations: 53.61 kB / 421.8 MB, free: 16.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.705e-05/0.176, allocations: 330.8 kB / 422.2 MB, free: 16.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.917e-05/0.1761, allocations: 83.97 kB / 422.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.1762, allocations: 131.4 kB / 422.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.1764, allocations: 214.4 kB / 422.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1764, allocations: 0 / 422.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004742/0.1769, allocations: 334.9 kB / 422.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.1769, allocations: 7.984 kB / 422.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1769, allocations: 80 / 422.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000333/0.1772, allocations: 81.66 kB / 423 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1774, allocations: 43.97 kB / 423 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.1788, allocations: 2.883 MB / 425.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.1789, allocations: 19.72 kB / 425.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1789, allocations: 20.11 kB / 426 MB, free: 11.93 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.32e-05/0.179, allocations: 137.8 kB / 426.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.1791, allocations: 19.8 kB / 426.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004753/0.1796, allocations: 304.7 kB / 426.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1796, allocations: 0 / 426.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1796, allocations: 4 kB / 426.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1796, allocations: 0 / 426.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.1801, allocations: 0.5497 MB / 427 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1801, allocations: 0 / 427 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.482e-05/0.1802, allocations: 31.98 kB / 427 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/0.1805, allocations: 77.59 kB / 427.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1805, allocations: 8 kB / 427.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.1818, allocations: 2.867 MB / 429.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1818, allocations: 4.031 kB / 430 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.1822, allocations: 430.4 kB / 430.4 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.1823, allocations: 100.8 kB / 430.5 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.1823, allocations: 7.906 kB / 430.5 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.1825, allocations: 19.92 kB / 430.5 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.1825, allocations: 19.91 kB / 430.5 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.1826, allocations: 8 kB / 430.5 MB, free: 6.965 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1827, allocations: 152.7 kB / 430.7 MB, free: 6.816 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.32e-07/0.1827, allocations: 0 / 430.7 MB, free: 6.816 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000348/0.183, allocations: 83.78 kB / 430.8 MB, free: 6.734 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(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.0005596/0.1836, allocations: 0.9728 MB / 431.7 MB, free: 5.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005492/0.1842, allocations: 457.2 kB / 432.2 MB, free: 5.258 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1842, allocations: 8.125 kB / 432.2 MB, free: 5.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.1845, allocations: 325.3 kB / 432.5 MB, free: 4.906 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.1849, allocations: 28.3 kB / 432.5 MB, free: 4.879 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.1871, allocations: 2.591 MB / 435.1 MB, free: 2.176 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.1872, allocations: 0.7363 MB / 435.9 MB, free: 1.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.1873, allocations: 29.5 kB / 435.9 MB, free: 1.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.578e-05/0.1874, allocations: 63.42 kB / 435.9 MB, free: 1.316 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1874, allocations: 4 kB / 435.9 MB, free: 1.312 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1731/0.3606, allocations: 5.083 MB / 441 MB, free: 12.37 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/0.3608, allocations: 232.9 kB / 441.3 MB, free: 12.1 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.164, allocations: 3.625 kB / 441.3 MB, free: 12.1 MB / 318.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1)