Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",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.0008615/0.0008658, allocations: 96.83 kB / 15.73 MB, free: 440 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.0008956/0.0008957, allocations: 179.7 kB / 16.61 MB, free: 6.426 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.24/1.24, allocations: 223.2 MB / 240.6 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1308/0.1308, allocations: 8.1 MB / 299.7 MB, free: 2.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002805, allocations: 8 kB / 362.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08555/0.08584, allocations: 52.5 MB / 415.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.003007/0.08889, allocations: 2.869 MB / 418.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.09093, allocations: 1.743 MB / 420 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.09108, allocations: 8 kB / 420 MB, free: 4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.0914, allocations: 147.1 kB / 420.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005011/0.09191, allocations: 323 kB / 420.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.0937, allocations: 1.059 MB / 421.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005585/0.09427, allocations: 498.9 kB / 422 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.09456, allocations: 190 kB / 422.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.09477, allocations: 247.1 kB / 422.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003686/0.09515, allocations: 314.8 kB / 422.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.949e-05/0.09522, allocations: 35.94 kB / 422.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/0.0956, allocations: 231.7 kB / 423 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.863e-05/0.0957, allocations: 111.6 kB / 423.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.09581, allocations: 137.3 kB / 423.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005845/0.0964, allocations: 0.6039 MB / 423.8 MB, free: 136 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.09642, allocations: 0 / 423.8 MB, free: 136 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.09643, allocations: 8 kB / 423.8 MB, free: 128 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.09644, allocations: 0 / 423.8 MB, free: 128 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.1502/0.2467, allocations: 1.818 MB / 425.6 MB, free: 40.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.2467, allocations: 9.906 kB / 425.7 MB, free: 40.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.2468, allocations: 90.95 kB / 425.7 MB, free: 40.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.2469, allocations: 80.67 kB / 425.8 MB, free: 40.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.2474, allocations: 427.1 kB / 426.2 MB, free: 40.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.2474, allocations: 40.91 kB / 426.3 MB, free: 40.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.387e-05/0.2475, allocations: 62.59 kB / 426.3 MB, free: 40.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000892/0.2484, allocations: 0.7528 MB / 427.1 MB, free: 40.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2484, allocations: 1.75 kB / 427.1 MB, free: 40.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.787e-05/0.2485, allocations: 21.34 kB / 427.1 MB, free: 40.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.2485, allocations: 13.77 kB / 427.1 MB, free: 40.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007628/0.2493, allocations: 0.6821 MB / 427.8 MB, free: 40.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/0.2522, allocations: 2.987 MB / 430.8 MB, free: 39.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.2534, allocations: 1.294 MB / 432.1 MB, free: 38.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-05/0.2535, allocations: 20.44 kB / 432.1 MB, free: 38.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.2535, allocations: 52.17 kB / 432.2 MB, free: 38.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.154e-06/0.2535, allocations: 7.828 kB / 432.2 MB, free: 38.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.01197/0.2655, allocations: 3.399 MB / 435.6 MB, free: 37.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.2655, allocations: 116.6 kB / 435.7 MB, free: 37.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.2658, allocations: 380.1 kB / 436.1 MB, free: 37.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.2659, allocations: 40.98 kB / 436.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.057e-05/0.266, allocations: 231 kB / 436.3 MB, free: 37.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.2661, allocations: 245.5 kB / 436.6 MB, free: 37.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.2662, allocations: 19.38 kB / 436.6 MB, free: 37.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.2662, allocations: 361.4 kB / 436.9 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/0.2667, allocations: 445.9 kB / 437.4 MB, free: 36.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005351/0.2673, allocations: 0.5024 MB / 437.9 MB, free: 36.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005467/0.2678, allocations: 491.7 kB / 438.4 MB, free: 36.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2678, allocations: 0 / 438.4 MB, free: 36.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004398/0.2722, allocations: 1.964 MB / 440.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.2723, allocations: 8.375 kB / 440.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.2723, allocations: 1.312 kB / 440.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005056/0.2773, allocations: 1.531 MB / 441.9 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004393/0.2778, allocations: 134.7 kB / 442 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008573/0.2864, allocations: 5.656 MB / 447.6 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/0.2869, allocations: 74.02 kB / 447.7 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.454e-05/0.287, allocations: 30.45 kB / 447.7 MB, free: 31.55 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 (75): * Single equations (assignments): 74 * 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 {16 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002082/0.2872, allocations: 192.7 kB / 447.9 MB, free: 31.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.86e-05/0.2873, allocations: 56.44 kB / 448 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004508/0.2918, allocations: 1.913 MB / 449.9 MB, free: 30.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.2918, allocations: 12.84 kB / 449.9 MB, free: 30.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.2918, allocations: 0 / 449.9 MB, free: 30.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.2919, allocations: 3.375 kB / 449.9 MB, free: 30.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00496/0.2968, allocations: 2.758 MB / 452.7 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2968, allocations: 4 kB / 452.7 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.2971, allocations: 97.17 kB / 452.8 MB, free: 29.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004816/0.302, allocations: 1.291 MB / 454.1 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.302, allocations: 26.52 kB / 454.1 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008272/0.3103, allocations: 5.559 MB / 459.7 MB, free: 25.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3103, allocations: 4 kB / 459.7 MB, free: 25.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004278/0.3146, allocations: 1.899 MB / 461.6 MB, free: 24.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.817e-05/0.3147, allocations: 142.5 kB / 461.7 MB, free: 24.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.341e-05/0.3148, allocations: 11.47 kB / 461.7 MB, free: 24.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.3153, allocations: 56.28 kB / 461.8 MB, free: 24.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.3155, allocations: 58.75 kB / 461.8 MB, free: 24.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.574e-05/0.3155, allocations: 28.31 kB / 461.8 MB, free: 24.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002444/0.3158, allocations: 257.3 kB / 462.1 MB, free: 24.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3158, allocations: 0 / 462.1 MB, free: 24.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008265/0.3166, allocations: 294.5 kB / 462.4 MB, free: 24.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 (55): * Single equations (assignments): 54 * 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 {16 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.004693/0.3213, allocations: 2.468 MB / 464.9 MB, free: 23.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003199/0.3245, allocations: 1.6 MB / 466.5 MB, free: 22.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3245, allocations: 1.188 kB / 466.5 MB, free: 22.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002435/0.327, allocations: 1.047 MB / 467.5 MB, free: 22.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.3273, allocations: 51.28 kB / 467.6 MB, free: 22.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.3292, allocations: 1.719 MB / 469.3 MB, free: 20.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.3295, allocations: 0.908 MB / 470.2 MB, free: 20.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002364/0.3297, allocations: 80.19 kB / 470.3 MB, free: 20.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.3299, allocations: 213.9 kB / 470.5 MB, free: 20.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3299, allocations: 0 / 470.5 MB, free: 20.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.3607, allocations: 20.86 MB / 491.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001178/0.3609, allocations: 207.5 kB / 491.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.195, allocations: 0 / 491.5 MB, free: 8.738 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1) Environment - environmentSimulation: