Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",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.001268/0.001268, allocations: 112.2 kB / 16.62 MB, free: 6.812 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.001296/0.001296, allocations: 186 kB / 17.55 MB, free: 5.934 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.25/1.25, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1685/0.1685, allocations: 38.02 MB / 329.4 MB, free: 8.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 60.59 kB / 398.4 MB, free: 34.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08404/0.08528, allocations: 58.06 MB / 456.4 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.007592/0.09289, allocations: 7.755 MB / 464.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004749/0.09767, allocations: 4.195 MB / 468.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003862/0.09808, allocations: 15.94 kB / 468.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.1004, allocations: 0.9768 MB / 469.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.1024, allocations: 1.036 MB / 470.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006719/0.1031, allocations: 283.3 kB / 470.7 MB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001417/0.1045, allocations: 1.367 MB / 472.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007606/0.1053, allocations: 0.535 MB / 472.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000872/0.1062, allocations: 0.564 MB / 473.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008609/0.107, allocations: 0.6306 MB / 473.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.976e-05/0.1071, allocations: 36 kB / 473.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.1087, allocations: 0.9933 MB / 474.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003206/0.109, allocations: 271.3 kB / 475.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002927/0.1093, allocations: 250.8 kB / 475.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.1106, allocations: 0.8996 MB / 476.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1106, allocations: 0 / 476.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1106, allocations: 0 / 476.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.1106, allocations: 0 / 476.2 MB, free: 4.449 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001192/0.1118, allocations: 0.7922 MB / 477 MB, free: 3.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1119, allocations: 19.89 kB / 477 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.865e-05/0.112, allocations: 86.69 kB / 477.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.1135, allocations: 124.3 kB / 477.2 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.1139, allocations: 330.3 kB / 477.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.1139, allocations: 33.36 kB / 477.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.258e-05/0.114, allocations: 36.36 kB / 477.6 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000756/0.1147, allocations: 0.5945 MB / 478.2 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.1148, allocations: 7.938 kB / 478.2 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.1148, allocations: 16 kB / 478.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.755e-05/0.1149, allocations: 32.62 kB / 478.3 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005184/0.1154, allocations: 386.1 kB / 478.7 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.1176, allocations: 2.599 MB / 481.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005876/0.1182, allocations: 435.8 kB / 481.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.1184, allocations: 205.1 kB / 481.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.1185, allocations: 7.984 kB / 481.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1185, allocations: 42.56 kB / 481.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/0.1185, allocations: 0 / 481.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.00157/0.1201, allocations: 0.7569 MB / 482.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.1201, allocations: 106.8 kB / 482.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.1204, allocations: 328.5 kB / 483.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1205, allocations: 29.7 kB / 483.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.1206, allocations: 248 kB / 483.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.788e-05/0.1207, allocations: 122.3 kB / 483.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.564e-05/0.1208, allocations: 82.03 kB / 483.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1209, allocations: 346.8 kB / 483.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.1211, allocations: 124.8 kB / 484.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.1214, allocations: 279.5 kB / 484.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.1218, allocations: 460 kB / 484.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1219, allocations: 4 kB / 484.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007969/0.1227, allocations: 0.554 MB / 485.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1227, allocations: 8.562 kB / 485.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1227, allocations: 4 kB / 485.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/0.123, allocations: 128.8 kB / 485.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.1233, allocations: 71.84 kB / 485.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.1256, allocations: 2.569 MB / 488.1 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.1258, allocations: 43.53 kB / 488.2 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.1258, allocations: 20 kB / 488.2 MB, free: 7.777 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.126, allocations: 203.6 kB / 488.4 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.241e-05/0.1261, allocations: 39.53 kB / 488.4 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.293e-05/0.1262, allocations: 51.94 kB / 488.5 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1262, allocations: 4 kB / 488.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.1262, allocations: 3.938 kB / 488.5 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1262, allocations: 4 kB / 488.5 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.1273, allocations: 0.9416 MB / 489.4 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1274, allocations: 0 / 489.4 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.1275, allocations: 35.98 kB / 489.4 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000234/0.1277, allocations: 108.8 kB / 489.6 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.1278, allocations: 4 kB / 489.6 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/0.1299, allocations: 2.564 MB / 492.1 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.13, allocations: 12.14 kB / 492.1 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006601/0.1306, allocations: 0.6265 MB / 492.8 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.238e-05/0.1307, allocations: 112.6 kB / 492.9 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.1308, allocations: 11.94 kB / 492.9 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.1309, allocations: 8 kB / 492.9 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.131, allocations: 23.97 kB / 492.9 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.131, allocations: 15.98 kB / 492.9 MB, free: 2.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001856/0.1312, allocations: 219.1 kB / 493.1 MB, free: 2.527 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1312, allocations: 0 / 493.1 MB, free: 2.527 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005914/0.1318, allocations: 163.7 kB / 493.3 MB, free: 2.367 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008633/0.1327, allocations: 1.162 MB / 494.5 MB, free: 1.168 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007838/0.1335, allocations: 0.5541 MB / 495 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1335, allocations: 3.938 kB / 495 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.1339, allocations: 338.9 kB / 495.4 MB, free: 260 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/0.1345, allocations: 67.09 kB / 495.4 MB, free: 196 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.1387, allocations: 4.169 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.1391, allocations: 0.8824 MB / 0.4887 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.1392, allocations: 70.91 kB / 0.4888 GB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.1394, allocations: 115.4 kB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1394, allocations: 0 / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.1585, allocations: 7.407 MB / 0.4962 GB, free: 3.422 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.1587, allocations: 216 kB / 0.4964 GB, free: 3.172 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/1.976, allocations: 0 / 0.4964 GB, free: 3.172 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)