Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",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.0007665/0.0007665, allocations: 95.77 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.0008431/0.0008431, allocations: 174.9 kB / 16.62 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.26/1.26, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.148/0.148, allocations: 8.082 MB / 299.8 MB, free: 2.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002849, allocations: 8 kB / 363 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08578/0.08608, allocations: 52.52 MB / 415.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.003323/0.08944, allocations: 3.193 MB / 418.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002896/0.09236, allocations: 1.855 MB / 420.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003121/0.0927, allocations: 12 kB / 420.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004098/0.09312, allocations: 147.1 kB / 420.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000838/0.09397, allocations: 334.1 kB / 421 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.09589, allocations: 1.063 MB / 422.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008505/0.09675, allocations: 0.7112 MB / 422.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.09706, allocations: 186.1 kB / 423 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003223/0.09739, allocations: 294.8 kB / 423.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004556/0.09785, allocations: 370.5 kB / 423.6 MB, free: 400 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.184e-05/0.09794, allocations: 36 kB / 423.6 MB, free: 364 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004499/0.0984, allocations: 259.7 kB / 423.9 MB, free: 104 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1494/0.2478, allocations: 118.5 kB / 424 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000272/0.2481, allocations: 149.4 kB / 424.2 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007554/0.2489, allocations: 0.6681 MB / 424.8 MB, free: 35.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2489, allocations: 3.812 kB / 424.8 MB, free: 35.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2489, allocations: 2.516 kB / 424.8 MB, free: 35.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.2489, allocations: 0 / 424.8 MB, free: 35.57 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.006263/0.2552, allocations: 2.034 MB / 426.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2552, allocations: 9.562 kB / 426.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.2553, allocations: 88.31 kB / 427 MB, free: 34.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.2554, allocations: 89.3 kB / 427 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.2559, allocations: 461 kB / 427.5 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.256, allocations: 50.62 kB / 427.5 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.014e-05/0.2561, allocations: 63.14 kB / 427.6 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.2571, allocations: 0.8318 MB / 428.4 MB, free: 34.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.2572, allocations: 4 kB / 428.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.206e-05/0.2572, allocations: 23.59 kB / 428.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.2573, allocations: 16.27 kB / 428.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009396/0.2582, allocations: 0.7791 MB / 429.3 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003191/0.2614, allocations: 3.355 MB / 432.6 MB, free: 32.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.2627, allocations: 1.361 MB / 434 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006066/0.2633, allocations: 0.5824 MB / 434.6 MB, free: 32.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.591e-05/0.2634, allocations: 26.56 kB / 434.6 MB, free: 32.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.2634, allocations: 44.41 kB / 434.6 MB, free: 32.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 1.954e-06/0.2634, allocations: 0 / 434.6 MB, free: 32.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.01127/0.2747, allocations: 3.909 MB / 438.5 MB, free: 32.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.2748, allocations: 113.4 kB / 438.7 MB, free: 32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/0.2752, allocations: 430.5 kB / 439.1 MB, free: 31.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.996e-05/0.2753, allocations: 48.7 kB / 439.1 MB, free: 31.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2754, allocations: 242.8 kB / 439.4 MB, free: 31.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.2756, allocations: 300.5 kB / 439.6 MB, free: 31.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.2756, allocations: 17.91 kB / 439.7 MB, free: 31.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.2757, allocations: 374.3 kB / 440 MB, free: 31.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006473/0.2764, allocations: 0.5331 MB / 440.6 MB, free: 31.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007336/0.2771, allocations: 0.6151 MB / 441.2 MB, free: 31.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000707/0.2778, allocations: 0.5864 MB / 441.8 MB, free: 30.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2778, allocations: 0 / 441.8 MB, free: 30.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004903/0.2828, allocations: 2.382 MB / 444.1 MB, free: 29.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2828, allocations: 6.219 kB / 444.2 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.2828, allocations: 2.734 kB / 444.2 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005266/0.2881, allocations: 1.782 MB / 445.9 MB, free: 29.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.2886, allocations: 143.8 kB / 446.1 MB, free: 29.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009889/0.2985, allocations: 6.701 MB / 452.8 MB, free: 25.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006123/0.2991, allocations: 88 kB / 452.9 MB, free: 25.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-05/0.2992, allocations: 37.23 kB / 452.9 MB, free: 25.52 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 (87): * Single equations (assignments): 86 * 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: 0 * Non-linear torn systems: 1 {18 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002778/0.2995, allocations: 201.8 kB / 453.1 MB, free: 25.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.2996, allocations: 66.94 kB / 453.2 MB, free: 25.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004976/0.3046, allocations: 2.33 MB / 455.5 MB, free: 24.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.3046, allocations: 8.438 kB / 455.5 MB, free: 24.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.3046, allocations: 0 / 455.5 MB, free: 24.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3046, allocations: 7.469 kB / 455.5 MB, free: 24.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005547/0.3102, allocations: 3.314 MB / 458.8 MB, free: 22.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3102, allocations: 4 kB / 458.8 MB, free: 22.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.3105, allocations: 111.6 kB / 458.9 MB, free: 22.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005081/0.3156, allocations: 1.504 MB / 460.4 MB, free: 22.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.3157, allocations: 29.02 kB / 460.5 MB, free: 22.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009885/0.3255, allocations: 6.583 MB / 467.1 MB, free: 18.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3256, allocations: 0 / 467.1 MB, free: 18.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00486/0.3304, allocations: 2.268 MB / 469.3 MB, free: 17.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.994e-05/0.3305, allocations: 160.8 kB / 469.5 MB, free: 17.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.68e-05/0.3306, allocations: 16.44 kB / 469.5 MB, free: 17.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005272/0.3312, allocations: 66.78 kB / 469.6 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.3313, allocations: 72.95 kB / 469.6 MB, free: 17.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/0.3314, allocations: 34.25 kB / 469.7 MB, free: 17.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003037/0.3317, allocations: 290 kB / 469.9 MB, free: 17.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3317, allocations: 5.375 kB / 470 MB, free: 17.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008637/0.3326, allocations: 338.8 kB / 470.3 MB, free: 17.39 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 (66): * Single equations (assignments): 65 * 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: 0 * Non-linear torn systems: 1 {18 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.005223/0.3378, allocations: 2.854 MB / 473.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003771/0.3416, allocations: 1.919 MB / 475.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.3416, allocations: 1.969 kB / 475.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002765/0.3444, allocations: 1.254 MB / 476.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005798/0.345, allocations: 80.27 kB / 476.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009579/0.3546, allocations: 5.768 MB / 482.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.3549, allocations: 0.9236 MB / 483.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003122/0.3553, allocations: 99.42 kB / 483.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.3555, allocations: 241.3 kB / 483.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3555, allocations: 0 / 483.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03662/0.3922, allocations: 25.9 MB / 0.4974 GB, free: 4.383 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.3924, allocations: 204.1 kB / 0.4976 GB, free: 4.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/2.421, allocations: 0 / 0.4976 GB, free: 4.141 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) Environment - environmentSimulation: