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.000735/0.000735, allocations: 84.19 kB / 15.75 MB, free: 416 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.0008138/0.0008138, allocations: 173.2 kB / 16.62 MB, free: 6.891 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.249/1.249, allocations: 223.3 MB / 240.7 MB, free: 5.434 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.091 MB / 299.8 MB, free: 2.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002845, allocations: 16 kB / 363 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08647/0.08676, allocations: 52.5 MB / 415.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.004682/0.09149, allocations: 5.183 MB / 420.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002947/0.09446, allocations: 2.327 MB / 423 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.09473, allocations: 20 kB / 423 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004829/0.09522, allocations: 198.7 kB / 423.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.09624, allocations: 0.5204 MB / 423.7 MB, free: 372 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1693/0.2655, allocations: 1.203 MB / 424.9 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00148/0.267, allocations: 1.292 MB / 426.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004982/0.2675, allocations: 390.9 kB / 426.6 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.2679, allocations: 488.5 kB / 427.1 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006217/0.2685, allocations: 0.6341 MB / 427.7 MB, free: 34.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.2686, allocations: 66.84 kB / 427.8 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005532/0.2692, allocations: 290.7 kB / 428 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.2693, allocations: 219.9 kB / 428.3 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.2695, allocations: 255.4 kB / 428.5 MB, free: 34.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009455/0.2705, allocations: 1.372 MB / 429.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.2705, allocations: 0 / 429.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2705, allocations: 1.531 kB / 429.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.2705, allocations: 0 / 429.9 MB, free: 34.5 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.00959/0.2801, allocations: 3.053 MB / 432.9 MB, free: 33.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2801, allocations: 6.781 kB / 432.9 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000226/0.2804, allocations: 137.1 kB / 433.1 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.2806, allocations: 140.5 kB / 433.2 MB, free: 33.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008945/0.2815, allocations: 0.7402 MB / 434 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.2815, allocations: 76.92 kB / 434 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.2817, allocations: 101.9 kB / 434.1 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.2836, allocations: 1.512 MB / 435.6 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.2837, allocations: 3.938 kB / 435.6 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.2838, allocations: 42.44 kB / 435.7 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.2838, allocations: 26.33 kB / 435.7 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.2855, allocations: 1.461 MB / 437.2 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005569/0.2911, allocations: 6.053 MB / 443.2 MB, free: 30.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/0.2934, allocations: 3.751 MB / 447 MB, free: 27.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.2946, allocations: 1.098 MB / 448.1 MB, free: 26.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.2947, allocations: 36.22 kB / 448.1 MB, free: 26.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.2948, allocations: 53.8 kB / 448.2 MB, free: 26.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=151): time 2.845e-06/0.2948, allocations: 0 / 448.2 MB, free: 26.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=151): time 0.02602/0.3208, allocations: 8.14 MB / 456.3 MB, free: 24.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.3209, allocations: 127.5 kB / 456.4 MB, free: 24.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000787/0.3217, allocations: 0.6535 MB / 457.1 MB, free: 23.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000194/0.3219, allocations: 66.61 kB / 457.1 MB, free: 23.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.3221, allocations: 352.8 kB / 457.5 MB, free: 23.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/0.3224, allocations: 0.5018 MB / 458 MB, free: 23.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.193e-05/0.3225, allocations: 33.09 kB / 458 MB, free: 23.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.3226, allocations: 410.5 kB / 458.4 MB, free: 22.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.3238, allocations: 0.9518 MB / 459.4 MB, free: 22.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.325, allocations: 1.08 MB / 460.5 MB, free: 21.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.3263, allocations: 1.062 MB / 461.5 MB, free: 21.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3263, allocations: 0 / 461.5 MB, free: 21.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.008599/0.3349, allocations: 4.085 MB / 465.6 MB, free: 19.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.3349, allocations: 11.19 kB / 465.6 MB, free: 19.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.335, allocations: 1.5 kB / 465.6 MB, free: 19.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/0.3456, allocations: 4.221 MB / 469.8 MB, free: 19.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000982/0.3466, allocations: 230.3 kB / 470.1 MB, free: 19.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/0.366, allocations: 11.94 MB / 482 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.3672, allocations: 140.2 kB / 482.1 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.3673, allocations: 52.39 kB / 482.2 MB, free: 11.99 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.0004983/0.3678, allocations: 315.6 kB / 482.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.368, allocations: 113.6 kB / 482.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00872/0.3767, allocations: 4.075 MB / 486.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.3767, allocations: 16.94 kB / 486.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3768, allocations: 0 / 486.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.3768, allocations: 7.875 kB / 486.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009454/0.3862, allocations: 6.001 MB / 492.7 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.3863, allocations: 0 / 492.7 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/0.3867, allocations: 179.8 kB / 492.9 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008295/0.3951, allocations: 2.899 MB / 495.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.3952, allocations: 32 kB / 495.8 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01847/0.4136, allocations: 11.73 MB / 0.4957 GB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4137, allocations: 3.953 kB / 0.4957 GB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008814/0.4225, allocations: 3.933 MB / 0.4995 GB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.4228, allocations: 205.8 kB / 0.4997 GB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.423, allocations: 28 kB / 0.4997 GB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008685/0.4239, allocations: 116.5 kB / 0.4998 GB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/0.4242, allocations: 130.3 kB / 0.5 GB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.4243, allocations: 47.98 kB / 0.5 GB, free: 1.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006179/0.4249, allocations: 459 kB / 0.5004 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4249, allocations: 0 / 0.5004 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001599/0.4265, allocations: 0.5543 MB / 0.501 GB, free: 380 kB / 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.009132/0.4357, allocations: 4.535 MB / 0.5054 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007084/0.4428, allocations: 3.358 MB / 0.5087 GB, free: 8.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.4428, allocations: 0.6562 kB / 0.5087 GB, free: 8.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004812/0.4476, allocations: 2.181 MB / 0.5108 GB, free: 6.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008799/0.4485, allocations: 149.2 kB / 0.511 GB, free: 6.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01714/0.4657, allocations: 10.1 MB / 0.5208 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/0.4663, allocations: 1.104 MB / 0.5219 GB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005157/0.4668, allocations: 151.7 kB / 0.522 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/0.4674, allocations: 407.3 kB / 0.5224 GB, free: 10.11 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4674, allocations: 0 / 0.5224 GB, free: 10.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06262/0.53, allocations: 45.97 MB / 0.5673 GB, free: 12.36 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.5302, allocations: 220 kB / 0.5675 GB, free: 12.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/2.786, allocations: 4 kB / 0.5675 GB, free: 12.12 MB / 446.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: