Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",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.0009072/0.0009071, allocations: 100.9 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.0009967/0.0009966, allocations: 178.8 kB / 16.61 MB, free: 6.418 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.271/1.271, allocations: 223.2 MB / 240.6 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1526/0.1526, allocations: 8.089 MB / 299.7 MB, free: 2.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002873, allocations: 8 kB / 362.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08775/0.08806, allocations: 52.51 MB / 415.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.001303/0.0894, allocations: 0.8625 MB / 416.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.09072, allocations: 1.193 MB / 417.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.09077, allocations: 0 / 417.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.09098, allocations: 59.75 kB / 417.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.09112, allocations: 51.78 kB / 417.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.09167, allocations: 283.1 kB / 417.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.09178, allocations: 83.81 kB / 417.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.09191, allocations: 57.38 kB / 417.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.754e-05/0.09197, allocations: 39.86 kB / 418 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.0921, allocations: 55.77 kB / 418 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.09212, allocations: 8 kB / 418 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.09228, allocations: 79.88 kB / 418.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.09231, allocations: 19.92 kB / 418.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.09235, allocations: 45.64 kB / 418.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.09254, allocations: 143.9 kB / 418.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.09255, allocations: 4 kB / 418.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.09256, allocations: 7.938 kB / 418.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.09257, allocations: 0 / 418.3 MB, free: 5.656 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007939/0.09336, allocations: 460.3 kB / 418.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.09341, allocations: 11.97 kB / 418.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.09346, allocations: 42.52 kB / 418.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.0935, allocations: 15.91 kB / 418.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.09368, allocations: 186.8 kB / 419 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.09371, allocations: 12 kB / 419.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.09373, allocations: 12 kB / 419.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.09396, allocations: 133.6 kB / 419.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.09397, allocations: 4 kB / 419.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.09399, allocations: 4 kB / 419.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.09401, allocations: 7.953 kB / 419.2 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.09416, allocations: 95.95 kB / 419.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006975/0.09487, allocations: 492.4 kB / 419.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.09516, allocations: 102.7 kB / 419.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.09527, allocations: 85.09 kB / 420 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.09531, allocations: 38.5 kB / 420 MB, free: 3.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.09531, allocations: 4 kB / 420 MB, free: 3.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005106/0.09583, allocations: 215.6 kB / 420.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.09588, allocations: 55.41 kB / 420.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.09602, allocations: 145.8 kB / 420.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.09605, allocations: 33.7 kB / 420.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.09611, allocations: 115.5 kB / 420.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.09613, allocations: 23.66 kB / 420.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.09615, allocations: 4 kB / 420.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.09625, allocations: 318.8 kB / 420.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.597e-05/0.0963, allocations: 31.92 kB / 420.9 MB, free: 2.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/0.09635, allocations: 28 kB / 421 MB, free: 2.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.245e-05/0.0964, allocations: 31.98 kB / 421 MB, free: 2.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.09641, allocations: 192 / 421 MB, free: 2.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002483/0.09667, allocations: 146.2 kB / 421.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.09669, allocations: 8 kB / 421.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.0967, allocations: 0 / 421.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/0.09691, allocations: 32.83 kB / 421.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.09698, allocations: 11.98 kB / 421.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009515/0.09794, allocations: 1.315 MB / 422.5 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.194e-05/0.09804, allocations: 19.81 kB / 422.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.09806, allocations: 256 / 422.5 MB, free: 1.066 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 (9): * Single equations (assignments): 8 * 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 9.367e-05/0.09816, allocations: 138.2 kB / 422.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.09819, allocations: 0 / 422.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.09844, allocations: 123.2 kB / 422.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.09846, allocations: 0 / 422.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.09846, allocations: 0 / 422.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.09847, allocations: 3.984 kB / 422.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.09868, allocations: 221.5 kB / 423 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.09869, allocations: 4 kB / 423 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.09874, allocations: 11.94 kB / 423 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000141/0.09888, allocations: 32.83 kB / 423 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.0989, allocations: 4 kB / 423 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1558/0.2547, allocations: 1.31 MB / 424.4 MB, free: 40.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2548, allocations: 5.375 kB / 424.4 MB, free: 40.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.255, allocations: 203.9 kB / 424.6 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.2551, allocations: 82.06 kB / 424.6 MB, free: 40.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.2551, allocations: 6.422 kB / 424.6 MB, free: 40.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.2553, allocations: 11.84 kB / 424.7 MB, free: 40.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.2553, allocations: 6.156 kB / 424.7 MB, free: 40.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.2553, allocations: 4.406 kB / 424.7 MB, free: 40.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.762e-05/0.2554, allocations: 109.5 kB / 424.8 MB, free: 40.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2554, allocations: 3.938 kB / 424.8 MB, free: 40.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000389/0.2558, allocations: 42 kB / 424.8 MB, free: 40.04 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 (6): * Single equations (assignments): 5 * 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.0004422/0.2563, allocations: 0.7434 MB / 425.6 MB, free: 39.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.2566, allocations: 187 kB / 425.7 MB, free: 39.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2566, allocations: 0 / 425.7 MB, free: 39.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.2568, allocations: 147.8 kB / 425.9 MB, free: 39.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.257, allocations: 9.969 kB / 425.9 MB, free: 39.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009619/0.258, allocations: 0.7038 MB / 426.6 MB, free: 38.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.2581, allocations: 0.7083 MB / 427.3 MB, free: 38.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.845e-05/0.2582, allocations: 12.8 kB / 427.3 MB, free: 38.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.2582, allocations: 31.16 kB / 427.4 MB, free: 38.06 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2582, allocations: 0 / 427.4 MB, free: 38.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.2704, allocations: 2.589 MB / 429.9 MB, free: 37.86 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001183/0.2705, allocations: 192.2 kB / 430.1 MB, free: 37.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/1.841, allocations: 4 kB / 430.1 MB, free: 37.62 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1) Environment - environmentSimulation: