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-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.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.001667/0.001667, allocations: 106.2 kB / 16.45 MB, free: 6.434 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.001697/0.001698, allocations: 186 kB / 17.38 MB, free: 5.672 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.352/1.352, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04495/0.04495, allocations: 8.103 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001303, allocations: 63.91 kB / 413.9 MB, free: 22.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08772/0.08904, allocations: 51.51 MB / 465.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.002066/0.09115, allocations: 0.995 MB / 466.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.09253, allocations: 1.104 MB / 467.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.09263, allocations: 4 kB / 467.6 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.0929, allocations: 59.7 kB / 467.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.09314, allocations: 35.77 kB / 467.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.09381, allocations: 338.5 kB / 468 MB, free: 168 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.09393, allocations: 75.64 kB / 468.1 MB, free: 92 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.09405, allocations: 39.91 kB / 468.1 MB, free: 52 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.898e-05/0.09411, allocations: 31.86 kB / 468.1 MB, free: 20 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.09426, allocations: 43.91 kB / 468.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.09428, allocations: 4 kB / 468.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.09449, allocations: 87.77 kB / 468.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.09452, allocations: 11.94 kB / 468.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.226e-05/0.09457, allocations: 39.84 kB / 468.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.09481, allocations: 139 kB / 468.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.09483, allocations: 4 kB / 468.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09483, allocations: 0 / 468.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.09485, allocations: 0 / 468.5 MB, free: 15.7 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.0007602/0.09561, allocations: 427.5 kB / 468.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.09566, allocations: 11.89 kB / 468.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.0957, allocations: 38.75 kB / 468.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.09574, allocations: 8.844 kB / 468.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.09591, allocations: 184.2 kB / 469.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.09593, allocations: 8.375 kB / 469.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.09595, allocations: 4.375 kB / 469.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.09611, allocations: 90.17 kB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.09612, allocations: 3.938 kB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.09614, allocations: 0 / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.09615, allocations: 4 kB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.115e-05/0.09624, allocations: 51.97 kB / 469.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.09672, allocations: 360.5 kB / 469.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.09699, allocations: 74.56 kB / 469.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.09704, allocations: 24.91 kB / 469.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.09717, allocations: 81.11 kB / 469.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.0972, allocations: 34.56 kB / 469.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.485e-06/0.09721, allocations: 3.984 kB / 469.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005096/0.09772, allocations: 203.4 kB / 470 MB, free: 13.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.09777, allocations: 51.41 kB / 470.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.0979, allocations: 125.8 kB / 470.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.09793, allocations: 25.7 kB / 470.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.952e-05/0.098, allocations: 104 kB / 470.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.09802, allocations: 15.78 kB / 470.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.09808, allocations: 25.72 kB / 470.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.0982, allocations: 318.8 kB / 470.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-05/0.09823, allocations: 4.25 kB / 470.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.502e-05/0.09826, allocations: 16 kB / 470.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.294e-05/0.09832, allocations: 28.86 kB / 470.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.09833, allocations: 0 / 470.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000205/0.09854, allocations: 90.31 kB / 470.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.09856, allocations: 4 kB / 470.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.09858, allocations: 11.98 kB / 470.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001972/0.09878, allocations: 24.84 kB / 470.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.298e-05/0.09882, allocations: 4 kB / 470.9 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.0999, allocations: 1.375 MB / 472.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.09996, allocations: 7.969 kB / 472.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.09997, allocations: 0 / 472.2 MB, free: 11.48 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.844e-05/0.1001, allocations: 117.9 kB / 472.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.1001, allocations: 7.984 kB / 472.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.1003, allocations: 106.5 kB / 472.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1003, allocations: 3.984 kB / 472.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1003, allocations: 4 kB / 472.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1004, allocations: 0 / 472.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.1005, allocations: 185.6 kB / 472.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1005, allocations: 0 / 472.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-05/0.1006, allocations: 8 kB / 472.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001351/0.1007, allocations: 24.83 kB / 472.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.1007, allocations: 15.88 kB / 472.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009341/0.1017, allocations: 1.367 MB / 474.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1017, allocations: 0 / 474.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.1019, allocations: 192.4 kB / 474.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.102, allocations: 85.02 kB / 474.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.102, allocations: 3.984 kB / 474.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.903e-05/0.1021, allocations: 4 kB / 474.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.1021, allocations: 11.98 kB / 474.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1021, allocations: 4.312 kB / 474.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.288e-05/0.1022, allocations: 99.2 kB / 474.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1022, allocations: 0 / 474.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.1025, allocations: 27.94 kB / 474.5 MB, free: 8.984 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.000513/0.103, allocations: 0.7328 MB / 475.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002921/0.1033, allocations: 150.6 kB / 475.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1033, allocations: 0 / 475.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.1035, allocations: 138.7 kB / 475.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.1038, allocations: 19.92 kB / 475.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.1052, allocations: 1.421 MB / 477 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.1055, allocations: 0.6885 MB / 477.6 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.6e-05/0.1055, allocations: 11.73 kB / 477.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.1056, allocations: 23.44 kB / 477.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of SimCode: time 1.533e-06/0.1056, allocations: 0 / 477.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.1272, allocations: 2.532 MB / 480.2 MB, free: 3.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.835/8.963, allocations: 4 kB / 480.2 MB, free: 3.176 MB / 350.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/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)