Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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.StructuredNetwork.DoubleNetworkWithLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads",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.0009488/0.0009488, allocations: 96.44 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.001002/0.001002, allocations: 171.8 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.27/1.27, allocations: 223.2 MB / 240.5 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1475/0.1475, allocations: 8.09 MB / 299.7 MB, free: 2.965 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002956, allocations: 8 kB / 362.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08714/0.08746, allocations: 52.52 MB / 415.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.004401/0.0919, allocations: 4.757 MB / 420.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003146/0.09506, allocations: 2.374 MB / 422.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002558/0.09533, allocations: 20 kB / 422.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.09575, allocations: 202.7 kB / 422.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009127/0.09667, allocations: 0.6037 MB / 423.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1465/0.2432, allocations: 1.187 MB / 424.5 MB, free: 34.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.2446, allocations: 0.9545 MB / 425.5 MB, free: 34.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.245, allocations: 392.2 kB / 425.8 MB, free: 34.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.2453, allocations: 486 kB / 426.3 MB, free: 34.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00055/0.2458, allocations: 0.6087 MB / 426.9 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.33e-05/0.246, allocations: 63.5 kB / 427 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000486/0.2464, allocations: 267.4 kB / 427.3 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.2466, allocations: 211.3 kB / 427.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.2468, allocations: 262.5 kB / 427.7 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008766/0.2476, allocations: 1.359 MB / 429.1 MB, free: 34.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.2476, allocations: 0 / 429.1 MB, free: 34.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2477, allocations: 4 kB / 429.1 MB, free: 34.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.2477, allocations: 0 / 429.1 MB, free: 34.42 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.01062/0.2583, allocations: 3.039 MB / 432.1 MB, free: 33.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2583, allocations: 9.875 kB / 432.1 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001764/0.2585, allocations: 140.9 kB / 432.3 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.2587, allocations: 143.3 kB / 432.4 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000876/0.2596, allocations: 0.7436 MB / 433.1 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.575e-05/0.2597, allocations: 75.25 kB / 433.2 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.2598, allocations: 102.5 kB / 433.3 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.2616, allocations: 1.505 MB / 434.8 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.2617, allocations: 0 / 434.8 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.2618, allocations: 37.81 kB / 434.9 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.2618, allocations: 27.09 kB / 434.9 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.2636, allocations: 1.463 MB / 436.4 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005867/0.2695, allocations: 6.084 MB / 442.4 MB, free: 30.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.2719, allocations: 3.75 MB / 446.2 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.272, allocations: 41.95 kB / 446.2 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.2721, allocations: 58.14 kB / 446.3 MB, free: 27.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=151): time 2.875e-06/0.2721, allocations: 0 / 446.3 MB, free: 27.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=151): time 0.02939/0.3015, allocations: 8.156 MB / 454.4 MB, free: 25.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.3015, allocations: 118.5 kB / 454.6 MB, free: 25.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008293/0.3024, allocations: 0.6627 MB / 455.2 MB, free: 25.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001783/0.3026, allocations: 58.92 kB / 455.3 MB, free: 25.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.3028, allocations: 349.1 kB / 455.6 MB, free: 24.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003034/0.3031, allocations: 0.5003 MB / 456.1 MB, free: 24.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.209e-05/0.3032, allocations: 30.44 kB / 456.1 MB, free: 24.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3033, allocations: 411.6 kB / 456.5 MB, free: 24.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.3044, allocations: 0.9598 MB / 457.5 MB, free: 23.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.3057, allocations: 1.069 MB / 458.6 MB, free: 23.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.307, allocations: 1.058 MB / 459.6 MB, free: 22.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3071, allocations: 0 / 459.6 MB, free: 22.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.009016/0.3161, allocations: 4.083 MB / 463.7 MB, free: 20.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3161, allocations: 5.344 kB / 463.7 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3161, allocations: 7.953 kB / 463.7 MB, free: 20.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01153/0.3277, allocations: 4.224 MB / 468 MB, free: 20.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009499/0.3287, allocations: 227.1 kB / 468.2 MB, free: 20.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02101/0.3497, allocations: 12.55 MB / 480.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.3509, allocations: 142 kB / 480.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.3511, allocations: 53.48 kB / 480.9 MB, free: 13.09 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 36} Notification: Performance of prepare postOptimizeDAE: time 0.0005008/0.3516, allocations: 301 kB / 481.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.3518, allocations: 110.2 kB / 481.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009407/0.3612, allocations: 4.085 MB / 485.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.3612, allocations: 22.66 kB / 485.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3612, allocations: 0 / 485.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.3612, allocations: 8.062 kB / 485.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.3717, allocations: 5.996 MB / 491.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.3717, allocations: 0 / 491.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006528/0.3724, allocations: 179.7 kB / 491.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009741/0.3822, allocations: 2.899 MB / 494.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.3823, allocations: 35.98 kB / 494.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02029/0.4026, allocations: 12.33 MB / 0.495 GB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4026, allocations: 0 / 0.495 GB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009741/0.4123, allocations: 3.933 MB / 0.4988 GB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/0.4126, allocations: 207.3 kB / 0.499 GB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.4128, allocations: 24 kB / 0.4991 GB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.4139, allocations: 117 kB / 0.4992 GB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003097/0.4142, allocations: 126.3 kB / 0.4993 GB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.4143, allocations: 54.39 kB / 0.4993 GB, free: 2.277 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000614/0.4149, allocations: 455 kB / 0.4998 GB, free: 1.836 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.854e-06/0.415, allocations: 3.938 kB / 0.4998 GB, free: 1.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001502/0.4165, allocations: 0.5581 MB / 0.5003 GB, free: 1.273 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 (105): * Single equations (assignments): 104 * 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 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.0099/0.4264, allocations: 4.536 MB / 0.5047 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00747/0.4339, allocations: 3.353 MB / 0.508 GB, free: 9.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.4339, allocations: 4.656 kB / 0.508 GB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00542/0.4393, allocations: 2.18 MB / 0.5102 GB, free: 7.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007436/0.4401, allocations: 115.6 kB / 0.5103 GB, free: 7.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.4446, allocations: 3.281 MB / 0.5135 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006349/0.4453, allocations: 1.119 MB / 0.5146 GB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000528/0.4458, allocations: 151.7 kB / 0.5147 GB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004952/0.4463, allocations: 403.3 kB / 0.5151 GB, free: 2.027 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4463, allocations: 3.938 kB / 0.5151 GB, free: 2.023 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06223/0.5085, allocations: 45.57 MB / 0.5596 GB, free: 4.684 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.5087, allocations: 214.3 kB / 0.5598 GB, free: 4.449 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/2.785, allocations: 0 / 0.5598 GB, free: 4.449 MB / 430.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads.fmu > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1) Environment - environmentSimulation: