Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",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.0008373/0.0008374, allocations: 84.19 kB / 15.75 MB, free: 416 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.0008798/0.0008798, allocations: 177.9 kB / 16.63 MB, free: 6.887 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.241/1.241, allocations: 223.3 MB / 240.7 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1591/0.1591, allocations: 8.085 MB / 299.8 MB, free: 2.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.000304, allocations: 8 kB / 362.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.09016, allocations: 52.52 MB / 415.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.001381/0.09158, allocations: 0.9179 MB / 416.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.09306, allocations: 1.186 MB / 417.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.408e-05/0.09317, allocations: 0 / 417.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.09346, allocations: 83.67 kB / 417.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.09364, allocations: 47.69 kB / 417.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.09466, allocations: 0.5879 MB / 418.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.09489, allocations: 123.4 kB / 418.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.09502, allocations: 53.08 kB / 418.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.622e-05/0.09509, allocations: 43.84 kB / 418.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.09521, allocations: 55.77 kB / 418.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.09524, allocations: 7.938 kB / 418.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.0955, allocations: 123.9 kB / 418.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.09553, allocations: 23.91 kB / 418.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.09558, allocations: 49.64 kB / 418.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.09584, allocations: 179.7 kB / 418.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.09586, allocations: 8 kB / 418.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.09586, allocations: 0 / 418.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.09587, allocations: 0 / 418.9 MB, free: 5.129 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00115/0.09703, allocations: 0.5378 MB / 419.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.09707, allocations: 8.031 kB / 419.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/0.09713, allocations: 42.56 kB / 419.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.09718, allocations: 23.75 kB / 419.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.09739, allocations: 198.9 kB / 419.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.09742, allocations: 15.98 kB / 419.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.09744, allocations: 12 kB / 419.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.09772, allocations: 149.6 kB / 419.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.09774, allocations: 0 / 419.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.09776, allocations: 11.94 kB / 419.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.09777, allocations: 7.953 kB / 419.9 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.09796, allocations: 116 kB / 420 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007676/0.09873, allocations: 0.5196 MB / 420.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007245/0.09947, allocations: 150.5 kB / 420.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.942e-05/0.09955, allocations: 40.84 kB / 420.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.09967, allocations: 81.11 kB / 420.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.09971, allocations: 42.55 kB / 420.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.09972, allocations: 4 kB / 420.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001037/0.1008, allocations: 351.7 kB / 421.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.1008, allocations: 51.41 kB / 421.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.1009, allocations: 133 kB / 421.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.101, allocations: 29.64 kB / 421.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.964e-05/0.101, allocations: 132 kB / 421.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.1011, allocations: 31.55 kB / 421.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.1011, allocations: 0 / 421.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.1012, allocations: 322.8 kB / 421.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/0.1013, allocations: 36 kB / 421.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.169e-05/0.1014, allocations: 61.69 kB / 422 MB, free: 1.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.773e-05/0.1015, allocations: 43.95 kB / 422 MB, free: 1.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1015, allocations: 0 / 422 MB, free: 1.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004453/0.1019, allocations: 218.1 kB / 422.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1019, allocations: 8 kB / 422.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1019, allocations: 0 / 422.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003821/0.1023, allocations: 76.77 kB / 422.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.1024, allocations: 19.95 kB / 422.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1712/0.2737, allocations: 1.511 MB / 423.9 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.2738, allocations: 12.45 kB / 423.9 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.2739, allocations: 4.594 kB / 423.9 MB, free: 40.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 9 * 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 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.274, allocations: 125.6 kB / 424 MB, free: 40.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.2741, allocations: 4.438 kB / 424 MB, free: 40.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005351/0.2746, allocations: 210.7 kB / 424.2 MB, free: 40.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2746, allocations: 0 / 424.2 MB, free: 40.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2746, allocations: 4.484 kB / 424.2 MB, free: 40.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2746, allocations: 0 / 424.2 MB, free: 40.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.2749, allocations: 229.6 kB / 424.4 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2749, allocations: 0 / 424.4 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.786e-05/0.275, allocations: 10.12 kB / 424.5 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003298/0.2753, allocations: 81.8 kB / 424.5 MB, free: 40.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.2753, allocations: 5.125 kB / 424.5 MB, free: 40.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.2765, allocations: 1.518 MB / 426.1 MB, free: 38.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2765, allocations: 0 / 426.1 MB, free: 38.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.2769, allocations: 276.4 kB / 426.3 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.2769, allocations: 84.08 kB / 426.4 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.277, allocations: 9.047 kB / 426.4 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.214e-05/0.2771, allocations: 8.547 kB / 426.4 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.2771, allocations: 8.312 kB / 426.4 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.2771, allocations: 5.25 kB / 426.4 MB, free: 38.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.829e-05/0.2772, allocations: 94.5 kB / 426.5 MB, free: 38.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2772, allocations: 3.125 kB / 426.5 MB, free: 38.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.2775, allocations: 49.62 kB / 426.6 MB, free: 38.47 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 (8): * Single equations (assignments): 7 * 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 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007155/0.2783, allocations: 0.8217 MB / 427.4 MB, free: 37.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000518/0.2788, allocations: 244.2 kB / 427.6 MB, free: 37.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2788, allocations: 2.219 kB / 427.7 MB, free: 37.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003496/0.2792, allocations: 209.5 kB / 427.9 MB, free: 37.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.2794, allocations: 6.688 kB / 427.9 MB, free: 37.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.2807, allocations: 0.8255 MB / 428.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.2808, allocations: 0.7101 MB / 429.4 MB, free: 36.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.662e-05/0.2809, allocations: 9.984 kB / 429.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.2809, allocations: 44.64 kB / 429.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2809, allocations: 2.781 kB / 429.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.2947, allocations: 3.184 MB / 432.6 MB, free: 36.2 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001206/0.2949, allocations: 177.2 kB / 432.8 MB, free: 35.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/1.864, allocations: 0 / 432.8 MB, free: 35.96 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1) Environment - environmentSimulation: