Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLoad.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.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",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.0007648/0.0007648, allocations: 97.25 kB / 15.74 MB, free: 424 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.000784/0.000784, allocations: 168.2 kB / 16.62 MB, free: 6.43 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.238/1.238, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1414/0.1414, allocations: 8.077 MB / 299.8 MB, free: 2.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002926, allocations: 8 kB / 362.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09202/0.09233, allocations: 52.5 MB / 415.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.001057/0.09343, allocations: 0.6764 MB / 416.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.09454, allocations: 1.061 MB / 417.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.09459, allocations: 0 / 417.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.09476, allocations: 43.83 kB / 417.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.09488, allocations: 27.83 kB / 417.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/0.09539, allocations: 270.8 kB / 417.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.9e-05/0.09548, allocations: 71.66 kB / 417.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.09558, allocations: 23.97 kB / 417.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.408e-05/0.09562, allocations: 27.86 kB / 417.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.09573, allocations: 35.84 kB / 417.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.09576, allocations: 7.984 kB / 417.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.09589, allocations: 71.91 kB / 417.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.09592, allocations: 15.92 kB / 417.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.09596, allocations: 37.7 kB / 417.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.09611, allocations: 96.02 kB / 417.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.09612, allocations: 3.984 kB / 417.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.09613, allocations: 0 / 417.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.09613, allocations: 0 / 417.9 MB, free: 6.195 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.000627/0.09677, allocations: 415 kB / 418.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.09681, allocations: 8.031 kB / 418.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.09685, allocations: 42.55 kB / 418.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.09689, allocations: 15.86 kB / 418.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.09704, allocations: 175 kB / 418.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.09707, allocations: 8 kB / 418.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.09708, allocations: 4 kB / 418.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.09723, allocations: 81.66 kB / 418.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.09725, allocations: 4 kB / 418.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.09726, allocations: 4 kB / 418.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.09727, allocations: 3.938 kB / 418.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.069e-05/0.09736, allocations: 55.88 kB / 418.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.09779, allocations: 364.5 kB / 419.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.09803, allocations: 78.56 kB / 419.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.09807, allocations: 16.98 kB / 419.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.4e-05/0.09818, allocations: 89.09 kB / 419.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.09821, allocations: 34.56 kB / 419.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.09821, allocations: 0 / 419.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004223/0.09864, allocations: 187.5 kB / 419.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.09868, allocations: 55.41 kB / 419.5 MB, free: 4.355 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.921e-05/0.09879, allocations: 122 kB / 419.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.09881, allocations: 25.7 kB / 419.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.09887, allocations: 108.2 kB / 419.8 MB, free: 4.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.09889, allocations: 19.66 kB / 419.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.0989, allocations: 0 / 419.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.09901, allocations: 326.8 kB / 420.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/0.09904, allocations: 8 kB / 420.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.827e-05/0.09906, allocations: 12 kB / 420.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.534e-05/0.0991, allocations: 11.98 kB / 420.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.09911, allocations: 4 kB / 420.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001678/0.09928, allocations: 82.47 kB / 420.2 MB, free: 3.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.0993, allocations: 7.938 kB / 420.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.09931, allocations: 0 / 420.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.09949, allocations: 28.84 kB / 420.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.859e-05/0.09953, allocations: 4 kB / 420.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008821/0.1004, allocations: 1.277 MB / 421.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.049e-05/0.1005, allocations: 7.953 kB / 421.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1005, allocations: 12.19 kB / 421.6 MB, free: 2.137 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 (4): * Single equations (assignments): 3 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.1006, allocations: 114.4 kB / 421.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.1006, allocations: 3.906 kB / 421.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.1008, allocations: 106.4 kB / 421.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1008, allocations: 0 / 421.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1009, allocations: 8.312 kB / 421.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1009, allocations: 0 / 421.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.101, allocations: 185.6 kB / 422 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1011, allocations: 0 / 422 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/0.1011, allocations: 11.94 kB / 422 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/0.1012, allocations: 28.83 kB / 422 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.1012, allocations: 0 / 422 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000816/0.102, allocations: 1.276 MB / 423.3 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1021, allocations: 11.94 kB / 423.3 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.1023, allocations: 184.5 kB / 423.5 MB, free: 0 / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.1023, allocations: 89.06 kB / 423.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.1023, allocations: 0 / 423.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/0.1024, allocations: 15.89 kB / 423.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.1025, allocations: 4 kB / 423.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.1025, allocations: 4 kB / 423.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.179e-05/0.1025, allocations: 91.27 kB / 423.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1026, allocations: 4 kB / 423.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.1028, allocations: 24 kB / 423.7 MB, free: 15.75 MB / 366.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 (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004755/0.1033, allocations: 0.7326 MB / 424.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.1036, allocations: 150.7 kB / 424.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1036, allocations: 0 / 424.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.1038, allocations: 142.6 kB / 424.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.104, allocations: 19.88 kB / 424.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000807/0.1049, allocations: 0.5553 MB / 425.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.1051, allocations: 0.6887 MB / 426 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.6e-05/0.1051, allocations: 7.938 kB / 426 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.1052, allocations: 23.42 kB / 426 MB, free: 13.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1052, allocations: 0 / 426 MB, free: 13.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01284/0.118, allocations: 2.202 MB / 428.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.1183, allocations: 168.1 kB / 428.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/1.647, allocations: 0 / 428.4 MB, free: 10.98 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLoad.fmu > PowerSysPro_PowerSysPro.Tests.OneLoad.pipe 2>&1) Environment - environmentSimulation: