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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001349/0.001349, allocations: 101.6 kB / 16.45 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001324, allocations: 185.5 kB / 17.38 MB, free: 5.676 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.453/1.453, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0573/0.0573, allocations: 8.091 MB / 299.3 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001939, allocations: 71.88 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09353/0.09548, allocations: 51.51 MB / 465.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.007535/0.1031, allocations: 6.134 MB / 471.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004291/0.1074, allocations: 2.439 MB / 474.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006006/0.108, allocations: 23.94 kB / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009082/0.109, allocations: 325.8 kB / 474.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.1107, allocations: 0.6523 MB / 475.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003246/0.114, allocations: 1.49 MB / 476.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002242/0.1162, allocations: 1.462 MB / 478 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008164/0.1171, allocations: 0.5249 MB / 478.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000833/0.1179, allocations: 0.5917 MB / 479.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.119, allocations: 0.7548 MB / 479.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002807/0.1193, allocations: 144 kB / 480 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008936/0.1202, allocations: 391.7 kB / 480.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.1205, allocations: 307 kB / 480.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009153/0.1214, allocations: 0.6998 MB / 481.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.124, allocations: 1.818 MB / 483.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.124, allocations: 4 kB / 483.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.124, allocations: 0 / 483.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.078e-05/0.1241, allocations: 0 / 483.2 MB, free: 0.8672 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.01377/0.1378, allocations: 3.274 MB / 486.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.1379, allocations: 11.89 kB / 486.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002573/0.1382, allocations: 139.6 kB / 486.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004149/0.1386, allocations: 144.1 kB / 486.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.14, allocations: 0.7813 MB / 487.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.937e-05/0.1401, allocations: 82.31 kB / 487.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/0.1403, allocations: 100.4 kB / 487.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/0.1432, allocations: 1.518 MB / 489.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.1432, allocations: 3.938 kB / 489.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.1434, allocations: 40 kB / 489.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.1434, allocations: 20 kB / 489.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/0.1461, allocations: 1.472 MB / 490.8 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009695/0.1558, allocations: 5.996 MB / 496.8 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004345/0.1602, allocations: 3.757 MB / 0.4888 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001912/0.1621, allocations: 1.106 MB / 0.4899 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/0.1623, allocations: 37.19 kB / 0.49 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.839e-05/0.1624, allocations: 56.11 kB / 0.49 GB, free: 13.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=151): time 3.737e-06/0.1624, allocations: 0 / 0.49 GB, free: 13.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=151): time 0.03628/0.1987, allocations: 8.282 MB / 0.4981 GB, free: 5.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.1988, allocations: 120.1 kB / 0.4982 GB, free: 4.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.2, allocations: 0.6683 MB / 0.4989 GB, free: 4.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002915/0.2003, allocations: 65.7 kB / 0.4989 GB, free: 4.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/0.2006, allocations: 354.7 kB / 0.4993 GB, free: 3.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006348/0.2013, allocations: 0.5188 MB / 0.4998 GB, free: 3.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006143/0.2019, allocations: 283.6 kB / 0.5 GB, free: 2.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000229/0.2022, allocations: 353.9 kB / 0.5004 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.2039, allocations: 0.9646 MB / 0.5013 GB, free: 1.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001954/0.2058, allocations: 1.086 MB / 0.5024 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1954/0.4013, allocations: 2.159 MB / 0.5045 GB, free: 43.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.4013, allocations: 0 / 0.5045 GB, free: 43.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.01148/0.4128, allocations: 4.12 MB / 0.5085 GB, free: 42.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.4129, allocations: 5.562 kB / 0.5085 GB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.4129, allocations: 7 kB / 0.5085 GB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01258/0.4255, allocations: 4.204 MB / 0.5126 GB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.4266, allocations: 226.9 kB / 0.5128 GB, free: 42.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0229/0.4495, allocations: 13.14 MB / 0.5257 GB, free: 34.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.4508, allocations: 139 kB / 0.5258 GB, free: 34.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.4509, allocations: 60.53 kB / 0.5259 GB, free: 34.56 MB / 382.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,36)} Notification: Performance of prepare postOptimizeDAE: time 0.0004825/0.4514, allocations: 309.3 kB / 0.5262 GB, free: 34.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.4516, allocations: 111 kB / 0.5263 GB, free: 34.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00963/0.4613, allocations: 4.076 MB / 0.5302 GB, free: 32.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.4613, allocations: 16 kB / 0.5303 GB, free: 32.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4613, allocations: 0 / 0.5303 GB, free: 32.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/0.4614, allocations: 11.06 kB / 0.5303 GB, free: 32.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.4724, allocations: 5.987 MB / 0.5361 GB, free: 26.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.4725, allocations: 4 kB / 0.5361 GB, free: 26.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005706/0.4731, allocations: 179.7 kB / 0.5363 GB, free: 26.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01009/0.4832, allocations: 2.888 MB / 0.5391 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002743/0.4835, allocations: 39.92 kB / 0.5392 GB, free: 23.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02103/0.5045, allocations: 12.92 MB / 0.5518 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5046, allocations: 0 / 0.5518 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009616/0.5142, allocations: 3.95 MB / 0.5556 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/0.5145, allocations: 218.8 kB / 0.5558 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002899/0.5148, allocations: 35.94 kB / 0.5559 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.516, allocations: 87.77 kB / 0.556 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004758/0.5165, allocations: 126.4 kB / 0.5561 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.5166, allocations: 59.92 kB / 0.5561 GB, free: 5.762 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006015/0.5172, allocations: 463 kB / 0.5566 GB, free: 5.312 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5172, allocations: 0 / 0.5566 GB, free: 5.312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001696/0.5189, allocations: 0.5505 MB / 0.5571 GB, free: 4.77 MB / 382.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009682/0.5286, allocations: 4.56 MB / 0.5616 GB, free: 192 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009597/0.5383, allocations: 3.447 MB / 0.5649 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.5383, allocations: 4.656 kB / 0.5649 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007107/0.5454, allocations: 2.261 MB / 0.5671 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.5468, allocations: 151.8 kB / 0.5673 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03701/0.5839, allocations: 15.14 MB / 0.5821 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009376/0.5848, allocations: 1.096 MB / 0.5831 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006781/0.5855, allocations: 151.7 kB / 0.5833 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006458/0.5862, allocations: 415.3 kB / 0.5837 GB, free: 9.398 MB / 414.1 MB Notification: Performance of SimCode: time 1.613e-06/0.5862, allocations: 0 / 0.5837 GB, free: 9.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/0.6964, allocations: 50.51 MB / 0.633 GB, free: 7.129 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.07, allocations: 19 kB / 0.633 GB, free: 7.113 MB / 462.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/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)