Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",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.000842/0.000842, allocations: 96.98 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.0008526/0.0008527, allocations: 179.1 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.245/1.245, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1492/0.1492, allocations: 8.079 MB / 299.7 MB, free: 2.859 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002964, allocations: 8 kB / 362.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.08903, allocations: 52.51 MB / 415.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.004373/0.09345, allocations: 4.586 MB / 420 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.09659, allocations: 2.28 MB / 422.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.09683, allocations: 20 kB / 422.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003993/0.09724, allocations: 194.7 kB / 422.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000921/0.09817, allocations: 0.5881 MB / 423 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1521/0.2503, allocations: 1.177 MB / 424.2 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.2517, allocations: 0.9059 MB / 425.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003695/0.2521, allocations: 327.8 kB / 425.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002967/0.2524, allocations: 470 kB / 425.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.2529, allocations: 0.5904 MB / 426.5 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.213e-05/0.253, allocations: 56.25 kB / 426.5 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000537/0.2536, allocations: 260.3 kB / 426.8 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.2537, allocations: 202.9 kB / 427 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.2539, allocations: 226 kB / 427.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006814/0.2546, allocations: 1.003 MB / 428.2 MB, free: 34.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.2546, allocations: 0 / 428.2 MB, free: 34.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2546, allocations: 4 kB / 428.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2546, allocations: 0 / 428.2 MB, free: 34.54 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.0108/0.2654, allocations: 2.988 MB / 431.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2654, allocations: 9.344 kB / 431.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002201/0.2657, allocations: 140.6 kB / 431.3 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.2659, allocations: 132.8 kB / 431.5 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007862/0.2667, allocations: 0.6555 MB / 432.1 MB, free: 33.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.2667, allocations: 74.91 kB / 432.2 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.2669, allocations: 96.97 kB / 432.3 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.2685, allocations: 1.329 MB / 433.6 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2686, allocations: 0 / 433.6 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.2687, allocations: 42.48 kB / 433.7 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.2687, allocations: 19.22 kB / 433.7 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.2702, allocations: 1.272 MB / 435 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005063/0.2753, allocations: 5.297 MB / 440.3 MB, free: 30.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/0.2774, allocations: 3.101 MB / 443.4 MB, free: 29.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.2775, allocations: 35.59 kB / 443.4 MB, free: 29.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.2776, allocations: 58.48 kB / 443.5 MB, free: 29.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=147): time 2.755e-06/0.2776, allocations: 0 / 443.5 MB, free: 29.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=147): time 0.02454/0.3021, allocations: 6.961 MB / 450.4 MB, free: 27.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.3022, allocations: 127 kB / 450.5 MB, free: 27.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006796/0.3029, allocations: 0.6324 MB / 451.2 MB, free: 27.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001575/0.3031, allocations: 63.19 kB / 451.2 MB, free: 27.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.3033, allocations: 337.1 kB / 451.6 MB, free: 26.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00028/0.3035, allocations: 500 kB / 452 MB, free: 26.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.437e-05/0.3036, allocations: 30.44 kB / 452.1 MB, free: 26.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.289e-05/0.3037, allocations: 408.7 kB / 452.5 MB, free: 26.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.3047, allocations: 0.8573 MB / 453.3 MB, free: 25.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.3059, allocations: 0.9717 MB / 454.3 MB, free: 25.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.307, allocations: 0.9372 MB / 455.2 MB, free: 24.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.307, allocations: 7.266 kB / 455.3 MB, free: 24.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.008445/0.3155, allocations: 3.8 MB / 459.1 MB, free: 23.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3155, allocations: 6.984 kB / 459.1 MB, free: 23.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3155, allocations: 2.969 kB / 459.1 MB, free: 23.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01089/0.3264, allocations: 4.024 MB / 463.1 MB, free: 22.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009088/0.3273, allocations: 235 kB / 463.3 MB, free: 22.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01887/0.3462, allocations: 10.91 MB / 474.2 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.3474, allocations: 136.1 kB / 474.4 MB, free: 16.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.3475, allocations: 52.47 kB / 474.4 MB, free: 16.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 (135): * Single equations (assignments): 134 * 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 {32 32} Notification: Performance of prepare postOptimizeDAE: time 0.0004167/0.3479, allocations: 264.4 kB / 474.7 MB, free: 16.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.3481, allocations: 116.3 kB / 474.8 MB, free: 16.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009344/0.3575, allocations: 3.784 MB / 478.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.3575, allocations: 16.5 kB / 478.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3575, allocations: 4.516 kB / 478.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/0.3575, allocations: 9.328 kB / 478.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.368, allocations: 5.316 MB / 483.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.368, allocations: 1.375 kB / 483.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00054/0.3686, allocations: 178.1 kB / 484.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009568/0.3782, allocations: 2.741 MB / 486.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.3783, allocations: 42.12 kB / 486.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/0.3952, allocations: 10.71 MB / 497.6 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3952, allocations: 0 / 497.6 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009378/0.4046, allocations: 3.64 MB / 0.4895 GB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.4049, allocations: 211.3 kB / 0.4897 GB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.4051, allocations: 24 kB / 0.4897 GB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.4061, allocations: 114.3 kB / 0.4898 GB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002985/0.4064, allocations: 118.4 kB / 0.4899 GB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.4065, allocations: 55.94 kB / 0.49 GB, free: 11.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005896/0.4071, allocations: 435 kB / 0.4904 GB, free: 11.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4071, allocations: 0 / 0.4904 GB, free: 11.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001468/0.4086, allocations: 0.5328 MB / 0.4909 GB, free: 11.02 MB / 366.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 (106): * Single equations (assignments): 105 * 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 {32 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.009591/0.4182, allocations: 4.258 MB / 0.4951 GB, free: 6.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00689/0.4251, allocations: 3.105 MB / 0.4981 GB, free: 3.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.4251, allocations: 0.6562 kB / 0.4981 GB, free: 3.621 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005079/0.4302, allocations: 2.039 MB / 0.5001 GB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006674/0.4309, allocations: 109.1 kB / 0.5002 GB, free: 1.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/0.4349, allocations: 3.028 MB / 0.5031 GB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005912/0.4355, allocations: 1.115 MB / 0.5042 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004645/0.436, allocations: 144.6 kB / 0.5044 GB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004668/0.4365, allocations: 407.3 kB / 0.5048 GB, free: 12.7 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4365, allocations: 0 / 0.5048 GB, free: 12.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05665/0.4931, allocations: 41.25 MB / 0.545 GB, free: 3.742 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/0.4933, allocations: 205.8 kB / 0.5452 GB, free: 3.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/2.763, allocations: 0 / 0.5452 GB, free: 3.504 MB / 414.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1) Environment - environmentSimulation: