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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 180.9 kB / 8.049 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.5 MB / 230 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000868/0.0008684, allocations: 101.8 kB / 280.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04325/0.04325, allocations: 8.109 MB / 339.8 MB, free: 7.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.012e-05, allocations: 4.125 kB / 398.6 MB, free: 49.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09463/0.09467, allocations: 52.52 MB / 451.1 MB, free: 5.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1098/0.2045, allocations: 80.46 MB / 0.5191 GB, free: 4.824 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.2048, allocations: 67.97 kB / 0.5192 GB, free: 4.758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2939/0.4987, allocations: 21.19 MB / 0.5399 GB, free: 76.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4988, allocations: 0 / 0.5399 GB, free: 76.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.791e-05/0.4988, allocations: 13 kB / 0.5399 GB, free: 76.16 MB / 362.7 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.004029/0.5029, allocations: 1.304 MB / 0.5411 GB, free: 75.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.5029, allocations: 15.58 kB / 0.5412 GB, free: 75.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.5031, allocations: 81.97 kB / 0.5412 GB, free: 75.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007573/0.5039, allocations: 0.492 MB / 0.5417 GB, free: 74.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.5039, allocations: 15.81 kB / 0.5417 GB, free: 74.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.933e-05/0.504, allocations: 27.59 kB / 0.5418 GB, free: 74.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001136/0.5052, allocations: 0.745 MB / 0.5425 GB, free: 74.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.5063, allocations: 0.7599 MB / 0.5432 GB, free: 73.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.5063, allocations: 3.984 kB / 0.5432 GB, free: 73.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.5064, allocations: 4 kB / 0.5432 GB, free: 73.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.5064, allocations: 12 kB / 0.5432 GB, free: 73.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004093/0.5105, allocations: 3.471 MB / 0.5466 GB, free: 69.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.5118, allocations: 1.305 MB / 0.5479 GB, free: 68.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005897/0.5124, allocations: 0.5443 MB / 0.5484 GB, free: 67.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.5126, allocations: 105.8 kB / 0.5485 GB, free: 67.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.5127, allocations: 51.34 kB / 0.5486 GB, free: 67.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=88): time 3.086e-06/0.5127, allocations: 0 / 0.5486 GB, free: 67.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=88): time 0.005697/0.5184, allocations: 2.049 MB / 0.5506 GB, free: 65.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.5185, allocations: 115.6 kB / 0.5507 GB, free: 65.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.5189, allocations: 381.2 kB / 0.5511 GB, free: 65.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-05/0.519, allocations: 25.7 kB / 0.5511 GB, free: 65.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.5191, allocations: 241.4 kB / 0.5513 GB, free: 64.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.5193, allocations: 284.5 kB / 0.5516 GB, free: 64.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.5194, allocations: 0 / 0.5516 GB, free: 64.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.5195, allocations: 374.7 kB / 0.5519 GB, free: 64.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000505/0.52, allocations: 437.5 kB / 0.5524 GB, free: 63.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005293/0.5205, allocations: 485.5 kB / 0.5528 GB, free: 63.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.5216, allocations: 0.5042 MB / 0.5533 GB, free: 62.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.5217, allocations: 0 / 0.5533 GB, free: 62.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.005673/0.5273, allocations: 2.088 MB / 0.5554 GB, free: 60.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.5274, allocations: 4 kB / 0.5554 GB, free: 60.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5274, allocations: 3.938 kB / 0.5554 GB, free: 60.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005401/0.5328, allocations: 1.319 MB / 0.5567 GB, free: 59.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004136/0.5332, allocations: 95.88 kB / 0.5567 GB, free: 59.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009908/0.5432, allocations: 6.362 MB / 0.563 GB, free: 52.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008724/0.5441, allocations: 55.36 kB / 0.563 GB, free: 52.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.5441, allocations: 27.92 kB / 0.563 GB, free: 52.77 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: load1.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 {12 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002659/0.5444, allocations: 116.9 kB / 0.5631 GB, free: 52.65 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005691/0.5501, allocations: 2.064 MB / 0.5652 GB, free: 50.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.5504, allocations: 67.25 kB / 0.5652 GB, free: 50.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006094/0.5565, allocations: 2.284 MB / 0.5675 GB, free: 48.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.5565, allocations: 8 kB / 0.5675 GB, free: 48.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.5565, allocations: 0 / 0.5675 GB, free: 48.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.5566, allocations: 7.938 kB / 0.5675 GB, free: 48.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007091/0.5637, allocations: 3.376 MB / 0.5708 GB, free: 44.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.5637, allocations: 4 kB / 0.5708 GB, free: 44.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003833/0.5641, allocations: 103.9 kB / 0.5709 GB, free: 44.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005333/0.5694, allocations: 1.32 MB / 0.5722 GB, free: 43.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.833e-05/0.5695, allocations: 11.98 kB / 0.5722 GB, free: 43.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009657/0.5792, allocations: 6.346 MB / 0.5784 GB, free: 36.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.5792, allocations: 0 / 0.5784 GB, free: 36.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005894/0.5851, allocations: 2.241 MB / 0.5806 GB, free: 34.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.5854, allocations: 160.1 kB / 0.5807 GB, free: 34.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.5855, allocations: 4 kB / 0.5807 GB, free: 34.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007084/0.5863, allocations: 43.95 kB / 0.5808 GB, free: 34.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002308/0.5865, allocations: 76.95 kB / 0.5808 GB, free: 34.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/0.5866, allocations: 31.98 kB / 0.5809 GB, free: 34.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003037/0.5869, allocations: 291 kB / 0.5811 GB, free: 34.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5869, allocations: 0 / 0.5811 GB, free: 34.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009462/0.5878, allocations: 295.8 kB / 0.5814 GB, free: 33.73 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * 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 {12 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.005874/0.5937, allocations: 2.794 MB / 0.5841 GB, free: 30.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003155/0.5969, allocations: 1.557 MB / 0.5857 GB, free: 29.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.5969, allocations: 4 kB / 0.5857 GB, free: 29.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002288/0.5992, allocations: 1.1 MB / 0.5867 GB, free: 28.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.5998, allocations: 48.55 kB / 0.5868 GB, free: 28.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.6015, allocations: 0.9576 MB / 0.5877 GB, free: 27.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.6018, allocations: 0.9332 MB / 0.5886 GB, free: 26.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003113/0.6021, allocations: 88.84 kB / 0.5887 GB, free: 26.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.6024, allocations: 235.3 kB / 0.5889 GB, free: 25.9 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.6024, allocations: 4 kB / 0.589 GB, free: 25.89 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0446/0.647, allocations: 24.8 MB / 0.6132 GB, free: 1.145 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001366/0.6472, allocations: 132.5 kB / 0.6133 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/3.157, allocations: 0 / 0.6133 GB, free: 0.9492 MB / 362.7 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)