Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",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.0007392/0.0007392, allocations: 97.72 kB / 16.06 MB, free: 40 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.0007922/0.0007921, allocations: 180.1 kB / 16.96 MB, free: 6.871 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.304/1.304, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1597/0.1597, allocations: 8.086 MB / 300.2 MB, free: 2.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003226, allocations: 8 kB / 363.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09514/0.09548, allocations: 52.52 MB / 416.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.001313/0.09684, allocations: 0.948 MB / 417.1 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.09857, allocations: 1.466 MB / 418.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.09862, allocations: 0 / 418.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.09891, allocations: 95.66 kB / 418.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.09915, allocations: 91.5 kB / 418.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.1007, allocations: 0.9692 MB / 419.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.101, allocations: 159.1 kB / 419.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1011, allocations: 41.53 kB / 419.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.532e-05/0.1012, allocations: 59.78 kB / 419.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.1013, allocations: 83.61 kB / 420 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.1013, allocations: 4 kB / 420 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003554/0.1017, allocations: 219.8 kB / 420.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.1017, allocations: 23.86 kB / 420.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.298e-05/0.1018, allocations: 97.3 kB / 420.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.1023, allocations: 319.4 kB / 420.7 MB, free: 3.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1023, allocations: 7.922 kB / 420.7 MB, free: 3.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1023, allocations: 0 / 420.7 MB, free: 3.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1023, allocations: 4 kB / 420.7 MB, free: 3.684 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002057/0.1043, allocations: 0.6941 MB / 421.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1044, allocations: 8.031 kB / 421.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.514e-05/0.1045, allocations: 50.67 kB / 421.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.1045, allocations: 20.75 kB / 421.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.1048, allocations: 224.1 kB / 421.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1048, allocations: 12.61 kB / 421.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.1048, allocations: 12.38 kB / 421.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.1051, allocations: 201.9 kB / 421.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1052, allocations: 3.938 kB / 421.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.1052, allocations: 8 kB / 421.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1052, allocations: 0 / 421.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.1054, allocations: 160.6 kB / 422.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.1065, allocations: 0.73 MB / 422.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.107, allocations: 198.5 kB / 423 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.1071, allocations: 96.84 kB / 423.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/0.1072, allocations: 3.984 kB / 423.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1072, allocations: 38.56 kB / 423.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.1072, allocations: 0 / 423.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00193/0.1092, allocations: 0.5929 MB / 423.7 MB, free: 424 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.1092, allocations: 81.11 kB / 423.8 MB, free: 324 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.1094, allocations: 170.6 kB / 424 MB, free: 140 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.1095, allocations: 37.7 kB / 424 MB, free: 96 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1582/0.2676, allocations: 114.9 kB / 424.1 MB, free: 40.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.77e-05/0.2677, allocations: 59.44 kB / 424.2 MB, free: 40.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.2678, allocations: 28.55 kB / 424.2 MB, free: 40.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.2678, allocations: 328.7 kB / 424.5 MB, free: 40.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.268, allocations: 97.86 kB / 424.6 MB, free: 40.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.2682, allocations: 128.6 kB / 424.7 MB, free: 40.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.2685, allocations: 224.6 kB / 425 MB, free: 40.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2685, allocations: 0 / 425 MB, free: 40.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001067/0.2696, allocations: 428.2 kB / 425.4 MB, free: 40.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2696, allocations: 10.66 kB / 425.4 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2696, allocations: 0 / 425.4 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.2707, allocations: 198.8 kB / 425.6 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.2708, allocations: 38.95 kB / 425.6 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.2729, allocations: 1.823 MB / 427.4 MB, free: 39.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.2731, allocations: 21.52 kB / 427.5 MB, free: 39.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.2732, allocations: 8.938 kB / 427.5 MB, free: 39.11 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 (22): * Single equations (assignments): 21 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.2733, allocations: 128.4 kB / 427.6 MB, free: 38.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.2733, allocations: 24.72 kB / 427.6 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009934/0.2743, allocations: 387.8 kB / 428 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.2743, allocations: 4.5 kB / 428 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.2743, allocations: 0.7188 kB / 428 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2743, allocations: 0.75 kB / 428 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.2746, allocations: 305 kB / 428.3 MB, free: 38.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2746, allocations: 3.156 kB / 428.3 MB, free: 38.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.2747, allocations: 27.77 kB / 428.3 MB, free: 38.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009072/0.2756, allocations: 203.2 kB / 428.5 MB, free: 38.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.2756, allocations: 7.75 kB / 428.5 MB, free: 38.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.2774, allocations: 1.796 MB / 430.3 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2774, allocations: 0 / 430.3 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008773/0.2783, allocations: 451 kB / 430.8 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.2783, allocations: 95.61 kB / 430.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.2784, allocations: 3.5 kB / 430.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.2786, allocations: 26.92 kB / 430.9 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.2786, allocations: 13.84 kB / 430.9 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.2786, allocations: 9.656 kB / 430.9 MB, free: 37.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.2787, allocations: 129.1 kB / 431 MB, free: 37.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2787, allocations: 2.078 kB / 431 MB, free: 37.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003565/0.2791, allocations: 64.48 kB / 431.1 MB, free: 37.11 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 (15): * Single equations (assignments): 14 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001178/0.2803, allocations: 0.9961 MB / 432.1 MB, free: 36.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008372/0.2811, allocations: 409 kB / 432.5 MB, free: 36.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2812, allocations: 0 / 432.5 MB, free: 36.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004939/0.2817, allocations: 277.1 kB / 432.8 MB, free: 36.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.282, allocations: 25.36 kB / 432.8 MB, free: 36.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.2852, allocations: 2.564 MB / 435.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.2854, allocations: 0.7217 MB / 436.1 MB, free: 34.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.706e-05/0.2855, allocations: 21.55 kB / 436.1 MB, free: 34.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.404e-05/0.2856, allocations: 47.83 kB / 436.2 MB, free: 34.13 MB / 350.1 MB Notification: Performance of SimCode: time 1.683e-06/0.2856, allocations: 0 / 436.2 MB, free: 34.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.3007, allocations: 5.637 MB / 441.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001277/0.3008, allocations: 217.4 kB / 442 MB, free: 33.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/1.994, allocations: 0 / 442 MB, free: 33.45 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)