Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",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.001186/0.001186, allocations: 95.89 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 178.7 kB / 16.61 MB, free: 6.891 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.262/1.262, allocations: 223.2 MB / 240.5 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1559/0.1559, allocations: 8.085 MB / 299.7 MB, free: 2.953 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000299/0.000299, allocations: 11.98 kB / 362.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09046/0.09078, allocations: 52.5 MB / 415.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.001253/0.09207, allocations: 0.6044 MB / 416 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.09345, allocations: 1.1 MB / 417.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.09351, allocations: 0 / 417.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.09373, allocations: 51.7 kB / 417.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.09384, allocations: 23.95 kB / 417.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.307e-05/0.09391, allocations: 23.91 kB / 417.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.999e-05/0.094, allocations: 39.95 kB / 417.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.09412, allocations: 31.89 kB / 417.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.802e-05/0.09416, allocations: 11.94 kB / 417.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.09424, allocations: 27.86 kB / 417.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.09426, allocations: 7.984 kB / 417.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.09438, allocations: 39.98 kB / 417.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.09441, allocations: 7.984 kB / 417.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.09444, allocations: 37.64 kB / 417.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.09459, allocations: 72.11 kB / 417.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.09461, allocations: 4 kB / 417.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.09462, allocations: 3.938 kB / 417.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.09463, allocations: 0 / 417.4 MB, free: 6.59 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005278/0.09516, allocations: 367.2 kB / 417.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.09521, allocations: 8.031 kB / 417.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.148e-05/0.09528, allocations: 46.5 kB / 417.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.09531, allocations: 11.91 kB / 417.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.09544, allocations: 167 kB / 418 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.09546, allocations: 12 kB / 418 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.09548, allocations: 4 kB / 418 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.09564, allocations: 73.61 kB / 418.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.09565, allocations: 0 / 418.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.09567, allocations: 4 kB / 418.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.09569, allocations: 7.953 kB / 418.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.976e-05/0.09577, allocations: 43.97 kB / 418.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.09625, allocations: 352.5 kB / 418.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.075e-05/0.09632, allocations: 26.52 kB / 418.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.09643, allocations: 81.17 kB / 418.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.09647, allocations: 38.55 kB / 418.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.09648, allocations: 0 / 418.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001437/0.09663, allocations: 37.7 kB / 418.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.09668, allocations: 59.53 kB / 418.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.09679, allocations: 125.8 kB / 418.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.09681, allocations: 25.7 kB / 418.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.09688, allocations: 111.8 kB / 419 MB, free: 4.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.863e-06/0.09689, allocations: 3.906 kB / 419 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.0969, allocations: 0 / 419 MB, free: 4.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.09702, allocations: 326.8 kB / 419.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.09705, allocations: 11.94 kB / 419.3 MB, free: 4.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/0.09708, allocations: 19.92 kB / 419.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.922e-05/0.09712, allocations: 12 kB / 419.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.09712, allocations: 0 / 419.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.085e-05/0.09722, allocations: 65.69 kB / 419.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.09724, allocations: 4 kB / 419.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.09725, allocations: 0 / 419.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.09727, allocations: 0 / 419.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.602e-05/0.09735, allocations: 15.98 kB / 419.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.09736, allocations: 0 / 419.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.09741, allocations: 3.938 kB / 419.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.09743, allocations: 4 kB / 419.5 MB, free: 4.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.001e-05/0.09751, allocations: 121.7 kB / 419.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.09754, allocations: 7.906 kB / 419.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.144e-05/0.09764, allocations: 45.22 kB / 419.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.09765, allocations: 0 / 419.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.09766, allocations: 0 / 419.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.09766, allocations: 0 / 419.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.09783, allocations: 177.6 kB / 419.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.09784, allocations: 192 / 419.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.336e-05/0.09786, allocations: 8 kB / 419.8 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.09788, allocations: 4.031 kB / 419.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.09789, allocations: 0 / 419.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.09789, allocations: 0 / 419.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.0979, allocations: 4 kB / 419.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.69e-05/0.098, allocations: 139.4 kB / 420 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.09805, allocations: 89 kB / 420 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.09807, allocations: 4 kB / 420 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.536e-05/0.09813, allocations: 4.031 kB / 420.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.09815, allocations: 0 / 420.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-06/0.09815, allocations: 0 / 420.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.709e-05/0.09821, allocations: 95.56 kB / 420.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09822, allocations: 0 / 420.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.09846, allocations: 20 kB / 420.2 MB, free: 3.516 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003628/0.09883, allocations: 0.6816 MB / 420.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.146e-05/0.09892, allocations: 23.98 kB / 420.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.09893, allocations: 3.938 kB / 420.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/0.09894, allocations: 4 kB / 420.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.09908, allocations: 8 kB / 420.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.09953, allocations: 220.1 kB / 421.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.09978, allocations: 0.6887 MB / 421.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.955e-05/0.09981, allocations: 7.984 kB / 421.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.09985, allocations: 15.44 kB / 421.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09986, allocations: 4 kB / 421.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01008/0.1099, allocations: 1.356 MB / 423.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/0.1101, allocations: 156.5 kB / 423.3 MB, free: 256 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/1.621, allocations: 0 / 423.3 MB, free: 256 kB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneSource.fmu > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1) Environment - environmentSimulation: