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.0007137/0.0007139, allocations: 96.08 kB / 15.74 MB, free: 424 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.0007479/0.000748, allocations: 177 kB / 16.63 MB, free: 6.434 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.266/1.266, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1553/0.1553, allocations: 8.079 MB / 299.8 MB, free: 2.863 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003147, allocations: 8 kB / 362.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08679/0.08713, allocations: 52.52 MB / 415.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.001578/0.08875, allocations: 1.412 MB / 416.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.09028, allocations: 1.482 MB / 418.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.984e-05/0.09036, allocations: 7.938 kB / 418.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.0906, allocations: 99.52 kB / 418.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.09084, allocations: 119.3 kB / 418.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.09187, allocations: 0.6463 MB / 419.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.09216, allocations: 274.6 kB / 419.5 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.09233, allocations: 85.55 kB / 419.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.23e-05/0.09243, allocations: 107.5 kB / 419.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.09258, allocations: 139.4 kB / 419.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.09261, allocations: 12 kB / 419.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.09287, allocations: 151.9 kB / 420 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.801e-05/0.09291, allocations: 47.77 kB / 420 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.225e-05/0.09297, allocations: 69.58 kB / 420.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.09328, allocations: 303.4 kB / 420.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.0933, allocations: 0 / 420.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09331, allocations: 3.938 kB / 420.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.09332, allocations: 0 / 420.4 MB, free: 3.703 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.002445/0.09577, allocations: 0.9163 MB / 421.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.09581, allocations: 8.031 kB / 421.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.406e-05/0.09588, allocations: 62.53 kB / 421.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/0.09594, allocations: 35.58 kB / 421.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.0962, allocations: 270.3 kB / 421.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.09622, allocations: 20.44 kB / 421.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.09627, allocations: 24 kB / 421.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.09677, allocations: 339.2 kB / 422.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.09679, allocations: 0 / 422.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.09682, allocations: 12 kB / 422.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.09684, allocations: 4 kB / 422.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.09729, allocations: 333.6 kB / 422.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.09869, allocations: 1.029 MB / 423.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/0.0992, allocations: 394.5 kB / 423.8 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1604/0.2597, allocations: 227.2 kB / 424 MB, free: 41.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.358e-05/0.2598, allocations: 7.297 kB / 424 MB, free: 41.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.2598, allocations: 37.28 kB / 424.1 MB, free: 41.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.915e-06/0.2598, allocations: 3.406 kB / 424.1 MB, free: 41.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002032/0.2618, allocations: 1.046 MB / 425.1 MB, free: 40.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.2619, allocations: 59.02 kB / 425.2 MB, free: 40.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.2621, allocations: 224.6 kB / 425.4 MB, free: 40.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.2621, allocations: 37.55 kB / 425.4 MB, free: 40.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.2622, allocations: 139.5 kB / 425.6 MB, free: 40.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/0.2622, allocations: 127.5 kB / 425.7 MB, free: 40.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.2623, allocations: 11.22 kB / 425.7 MB, free: 40.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.544e-05/0.2623, allocations: 331.2 kB / 426 MB, free: 40.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.2626, allocations: 236.8 kB / 426.3 MB, free: 40.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.2629, allocations: 237.5 kB / 426.5 MB, free: 40.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.2632, allocations: 255.9 kB / 426.7 MB, free: 40.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2632, allocations: 0 / 426.7 MB, free: 40.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001011/0.2642, allocations: 0.7173 MB / 427.5 MB, free: 40.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2643, allocations: 9.016 kB / 427.5 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2643, allocations: 0 / 427.5 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005444/0.2648, allocations: 153.8 kB / 427.6 MB, free: 40.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/0.2652, allocations: 88.27 kB / 427.7 MB, free: 40.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/0.2679, allocations: 4.298 MB / 432 MB, free: 36.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.2681, allocations: 29.28 kB / 432 MB, free: 36.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.2681, allocations: 14.89 kB / 432 MB, free: 36.28 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.0001326/0.2683, allocations: 158.8 kB / 432.2 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.2683, allocations: 23.75 kB / 432.2 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.2695, allocations: 0.5952 MB / 432.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2695, allocations: 7.219 kB / 432.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2695, allocations: 4.062 kB / 432.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.2695, allocations: 3.375 kB / 432.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.2699, allocations: 458.4 kB / 433.3 MB, free: 35.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2699, allocations: 0 / 433.3 MB, free: 35.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.2701, allocations: 50.12 kB / 433.3 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004357/0.2706, allocations: 156.4 kB / 433.5 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.2706, allocations: 10.5 kB / 433.5 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/0.2732, allocations: 4.287 MB / 437.8 MB, free: 32.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2732, allocations: 3.125 kB / 437.8 MB, free: 32.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008956/0.2741, allocations: 0.6272 MB / 438.4 MB, free: 31.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.2741, allocations: 105.3 kB / 438.5 MB, free: 31.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.2742, allocations: 6.844 kB / 438.5 MB, free: 31.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.2744, allocations: 10.17 kB / 438.5 MB, free: 31.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.2744, allocations: 31.75 kB / 438.6 MB, free: 31.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.2744, allocations: 9.812 kB / 438.6 MB, free: 31.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.2746, allocations: 165.8 kB / 438.7 MB, free: 31.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2746, allocations: 0 / 438.7 MB, free: 31.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004479/0.275, allocations: 120.9 kB / 438.9 MB, free: 31.55 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.001019/0.276, allocations: 1.188 MB / 440 MB, free: 30.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.2772, allocations: 0.8799 MB / 440.9 MB, free: 30.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2772, allocations: 0 / 440.9 MB, free: 30.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007102/0.2779, allocations: 0.5688 MB / 441.5 MB, free: 29.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.2782, allocations: 26.28 kB / 441.5 MB, free: 29.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.2808, allocations: 2.042 MB / 443.6 MB, free: 28.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.281, allocations: 0.7547 MB / 444.3 MB, free: 27.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001448/0.2811, allocations: 34.22 kB / 444.3 MB, free: 27.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.2812, allocations: 85.42 kB / 444.4 MB, free: 27.71 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2813, allocations: 0 / 444.4 MB, free: 27.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.2976, allocations: 6.84 MB / 451.3 MB, free: 27.22 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/0.2978, allocations: 195.2 kB / 451.5 MB, free: 26.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/1.925, allocations: 0 / 451.5 MB, free: 26.99 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: