Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",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.0009253/0.0009253, allocations: 101.2 kB / 15.73 MB, free: 436 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.0009129/0.0009129, allocations: 178.3 kB / 16.61 MB, free: 6.422 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.268/1.268, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1378/0.1378, allocations: 8.09 MB / 299.7 MB, free: 2.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003268, allocations: 11.98 kB / 362.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08834/0.08869, allocations: 52.51 MB / 415.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.001548/0.09027, allocations: 1.301 MB / 416.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.09186, allocations: 1.482 MB / 418.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.729e-05/0.09194, allocations: 4 kB / 418.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.09219, allocations: 103.4 kB / 418.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.09246, allocations: 135.6 kB / 418.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.09351, allocations: 0.6498 MB / 419 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.09379, allocations: 207.5 kB / 419.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.09396, allocations: 97.53 kB / 419.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.706e-05/0.09406, allocations: 99.62 kB / 419.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.09421, allocations: 131.4 kB / 419.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.09425, allocations: 12 kB / 419.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.09448, allocations: 147.8 kB / 419.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.09453, allocations: 39.83 kB / 419.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.09458, allocations: 69.58 kB / 419.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.0949, allocations: 303.5 kB / 420.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.09491, allocations: 0 / 420.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.09492, allocations: 3.938 kB / 420.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.09492, allocations: 0 / 420.1 MB, free: 3.879 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002752/0.09768, allocations: 0.9124 MB / 421 MB, free: 2.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.09773, allocations: 8.031 kB / 421 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.519e-05/0.0978, allocations: 58.55 kB / 421.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.09787, allocations: 35.58 kB / 421.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.09813, allocations: 266.3 kB / 421.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.09816, allocations: 20.44 kB / 421.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.09821, allocations: 24 kB / 421.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005119/0.09872, allocations: 343.2 kB / 421.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.09874, allocations: 0 / 421.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.09878, allocations: 8 kB / 421.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.0988, allocations: 19.89 kB / 421.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.09925, allocations: 329.6 kB / 422.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.1008, allocations: 1.029 MB / 423.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005255/0.1013, allocations: 390.4 kB / 423.5 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.01e-05/0.1014, allocations: 12 kB / 423.5 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.1014, allocations: 34.56 kB / 423.6 MB, free: 252 kB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.432e-06/0.1014, allocations: 0 / 423.6 MB, free: 252 kB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.1511/0.2525, allocations: 1.045 MB / 424.6 MB, free: 40.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.2525, allocations: 57.47 kB / 424.7 MB, free: 40.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.2527, allocations: 230.2 kB / 424.9 MB, free: 40.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.2528, allocations: 34.95 kB / 424.9 MB, free: 40.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.2528, allocations: 146.7 kB / 425.1 MB, free: 40.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.2529, allocations: 119.5 kB / 425.2 MB, free: 40.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.2529, allocations: 3.812 kB / 425.2 MB, free: 40.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.547e-05/0.253, allocations: 337.3 kB / 425.5 MB, free: 40.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.2532, allocations: 234.1 kB / 425.8 MB, free: 40.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.2535, allocations: 238.4 kB / 426 MB, free: 40.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.2538, allocations: 251.3 kB / 426.2 MB, free: 40.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2538, allocations: 0 / 426.2 MB, free: 40.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001059/0.2549, allocations: 0.7194 MB / 427 MB, free: 40.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2549, allocations: 6.719 kB / 427 MB, free: 40.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2549, allocations: 0 / 427 MB, free: 40.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005757/0.2555, allocations: 161.2 kB / 427.1 MB, free: 40.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.2559, allocations: 81.31 kB / 427.2 MB, free: 40.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/0.2585, allocations: 4.327 MB / 431.5 MB, free: 36.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.2588, allocations: 36.09 kB / 431.6 MB, free: 36.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.2588, allocations: 9.688 kB / 431.6 MB, free: 36.27 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 (50): * Single equations (assignments): 47 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.2589, allocations: 157.8 kB / 431.7 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.259, allocations: 25.59 kB / 431.7 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.26, allocations: 0.5927 MB / 432.3 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.26, allocations: 3.125 kB / 432.3 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.26, allocations: 4.641 kB / 432.3 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.26, allocations: 4.781 kB / 432.4 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.2604, allocations: 459.8 kB / 432.8 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2604, allocations: 3.406 kB / 432.8 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.2606, allocations: 47.23 kB / 432.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005264/0.2612, allocations: 155 kB / 433 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.2612, allocations: 4.312 kB / 433 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/0.2637, allocations: 4.314 MB / 437.3 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2637, allocations: 0 / 437.3 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000909/0.2646, allocations: 0.63 MB / 438 MB, free: 31.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.2647, allocations: 118.2 kB / 438.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.2647, allocations: 2.062 kB / 438.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.2649, allocations: 14.66 kB / 438.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.265, allocations: 24.61 kB / 438.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.265, allocations: 11.19 kB / 438.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.2651, allocations: 166.2 kB / 438.3 MB, free: 31.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2651, allocations: 0 / 438.3 MB, free: 31.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004289/0.2656, allocations: 113.4 kB / 438.4 MB, free: 31.63 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 (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001145/0.2667, allocations: 1.185 MB / 439.6 MB, free: 30.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.268, allocations: 0.8793 MB / 440.5 MB, free: 30.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.268, allocations: 0 / 440.5 MB, free: 30.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007737/0.2688, allocations: 0.5837 MB / 441 MB, free: 29.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.269, allocations: 15.91 kB / 441.1 MB, free: 29.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.27, allocations: 0.8961 MB / 442 MB, free: 29.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.2701, allocations: 0.7658 MB / 442.7 MB, free: 28.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000131/0.2703, allocations: 36.34 kB / 442.8 MB, free: 28.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.2704, allocations: 81.61 kB / 442.8 MB, free: 28.37 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2704, allocations: 0 / 442.8 MB, free: 28.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.2856, allocations: 6.744 MB / 449.6 MB, free: 27.89 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.2859, allocations: 204.5 kB / 449.8 MB, free: 27.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/1.906, allocations: 0 / 449.8 MB, free: 27.66 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1) Environment - environmentSimulation: