Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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: translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 96.86 kB / 15.74 MB, free: 424 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.001261/0.001262, allocations: 171.5 kB / 16.62 MB, free: 6.434 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.509/1.509, allocations: 223.3 MB / 240.7 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2893/0.2893, allocations: 8.092 MB / 299.8 MB, free: 2.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004156/0.0004158, allocations: 11.98 kB / 362.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.118, allocations: 52.52 MB / 415.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.003805/0.1219, allocations: 3.185 MB / 418.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.1252, allocations: 1.867 MB / 420.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002814/0.1255, allocations: 12 kB / 420.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.1259, allocations: 143.1 kB / 420.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007009/0.1266, allocations: 330.1 kB / 420.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.1285, allocations: 1.067 MB / 422 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008326/0.1294, allocations: 0.715 MB / 422.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002839/0.1296, allocations: 198 kB / 422.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.1299, allocations: 282.9 kB / 423.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004024/0.1303, allocations: 382.4 kB / 423.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.983e-05/0.1304, allocations: 32 kB / 423.6 MB, free: 500 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004839/0.1309, allocations: 259.8 kB / 423.8 MB, free: 240 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.654e-05/0.131, allocations: 123.4 kB / 423.9 MB, free: 116 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2215/0.3525, allocations: 150.9 kB / 424.1 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.354, allocations: 0.6552 MB / 424.7 MB, free: 35.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.354, allocations: 5.031 kB / 424.7 MB, free: 35.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.354, allocations: 0 / 424.7 MB, free: 35.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.354, allocations: 0 / 424.7 MB, free: 35.47 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00715/0.3612, allocations: 2.032 MB / 426.8 MB, free: 34.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.3613, allocations: 15 kB / 426.8 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002912/0.3616, allocations: 83.67 kB / 426.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007154/0.3623, allocations: 466.9 kB / 427.3 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.3623, allocations: 48.52 kB / 427.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.3625, allocations: 61.16 kB / 427.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.3638, allocations: 0.8304 MB / 428.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.3638, allocations: 1.594 kB / 428.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.276e-05/0.3639, allocations: 23.25 kB / 428.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.3639, allocations: 12.66 kB / 428.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.3651, allocations: 0.7808 MB / 429.1 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004112/0.3692, allocations: 3.352 MB / 432.4 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.3708, allocations: 1.362 MB / 433.8 MB, free: 32.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006897/0.3715, allocations: 0.5859 MB / 434.4 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.3716, allocations: 20.39 kB / 434.4 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3716, allocations: 47.72 kB / 434.4 MB, free: 32.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 2.575e-06/0.3716, allocations: 0 / 434.4 MB, free: 32.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.0126/0.3842, allocations: 3.911 MB / 438.4 MB, free: 32.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.3843, allocations: 110.6 kB / 438.5 MB, free: 31.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.3849, allocations: 439.1 kB / 438.9 MB, free: 31.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.3851, allocations: 46.05 kB / 438.9 MB, free: 31.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.3852, allocations: 234.3 kB / 439.2 MB, free: 31.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/0.3856, allocations: 305.9 kB / 439.5 MB, free: 31.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.681e-05/0.3856, allocations: 17.44 kB / 439.5 MB, free: 31.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3858, allocations: 378.1 kB / 439.9 MB, free: 31.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007234/0.3865, allocations: 0.5333 MB / 440.4 MB, free: 31.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000869/0.3874, allocations: 0.6168 MB / 441 MB, free: 31.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008875/0.3883, allocations: 0.5864 MB / 441.6 MB, free: 30.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.037e-05/0.3883, allocations: 0 / 441.6 MB, free: 30.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005562/0.3939, allocations: 2.374 MB / 444 MB, free: 29.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.394, allocations: 6.062 kB / 444 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.394, allocations: 0 / 444 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005723/0.3997, allocations: 1.776 MB / 445.7 MB, free: 29.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/0.4004, allocations: 147 kB / 445.9 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/0.4111, allocations: 6.704 MB / 452.6 MB, free: 25.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008867/0.412, allocations: 94.75 kB / 452.7 MB, free: 25.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.712e-05/0.4121, allocations: 33.17 kB / 452.7 MB, free: 25.56 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 (87): * Single equations (assignments): 86 * 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 {18 20} Notification: Performance of prepare postOptimizeDAE: time 0.0003787/0.4125, allocations: 207.3 kB / 452.9 MB, free: 25.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.4126, allocations: 61.56 kB / 453 MB, free: 25.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005371/0.418, allocations: 2.327 MB / 455.3 MB, free: 24.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.418, allocations: 10.25 kB / 455.3 MB, free: 24.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.418, allocations: 0 / 455.3 MB, free: 24.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.418, allocations: 10.8 kB / 455.3 MB, free: 24.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005857/0.4239, allocations: 3.316 MB / 458.6 MB, free: 22.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4239, allocations: 0 / 458.6 MB, free: 22.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.4242, allocations: 110.2 kB / 458.8 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005408/0.4297, allocations: 1.514 MB / 460.3 MB, free: 22.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.761e-05/0.4298, allocations: 24.22 kB / 460.3 MB, free: 22.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/0.4412, allocations: 6.575 MB / 466.9 MB, free: 18.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4413, allocations: 0 / 466.9 MB, free: 18.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005698/0.447, allocations: 2.279 MB / 469.1 MB, free: 17.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.4473, allocations: 157 kB / 469.3 MB, free: 17.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.4474, allocations: 20.94 kB / 469.3 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006047/0.448, allocations: 55 kB / 469.4 MB, free: 17.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/0.4483, allocations: 81.98 kB / 469.5 MB, free: 17.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.353e-05/0.4484, allocations: 30.53 kB / 469.5 MB, free: 17.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004069/0.4488, allocations: 290.9 kB / 469.8 MB, free: 17.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4488, allocations: 4.812 kB / 469.8 MB, free: 17.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001178/0.45, allocations: 338.7 kB / 470.1 MB, free: 17.43 MB / 350.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 (66): * Single equations (assignments): 65 * 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 {18 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002891/0.4503, allocations: 138.8 kB / 470.2 MB, free: 17.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004635/0.4549, allocations: 1.918 MB / 472.2 MB, free: 16.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.4549, allocations: 1.469 kB / 472.2 MB, free: 16.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003272/0.4582, allocations: 1.254 MB / 473.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007758/0.459, allocations: 76.41 kB / 473.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.4617, allocations: 1.588 MB / 475.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.4622, allocations: 0.9214 MB / 476 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004143/0.4627, allocations: 91.83 kB / 476.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.4628, allocations: 59.95 kB / 476.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4629, allocations: 0 / 476.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of Templates: time 0.0307/0.4936, allocations: 20.15 MB / 496.3 MB, free: 1.273 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) Environment - environmentSimulation: