Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 92.14 kB / 16.3 MB, free: 5.996 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.00176/0.001761, allocations: 184.4 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.4 MB / 223.4 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3117/0.3117, allocations: 38.05 MB / 309.7 MB, free: 8.914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005655/0.0005656, allocations: 16 kB / 376.5 MB, free: 15.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1208, allocations: 56.34 MB / 432.8 MB, free: 6.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.006918/0.1278, allocations: 6.478 MB / 439.3 MB, free: 356 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005598/0.1334, allocations: 4.031 MB / 443.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006831/0.1341, allocations: 15.94 kB / 443.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.1347, allocations: 147.1 kB / 443.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002682/0.1374, allocations: 0.6346 MB / 444.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.1386, allocations: 239.4 kB / 444.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.1399, allocations: 0.5847 MB / 444.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.1422, allocations: 1.169 MB / 446.1 MB, free: 9.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009945/0.1432, allocations: 382.6 kB / 446.5 MB, free: 9.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007396/0.144, allocations: 346.9 kB / 446.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.1441, allocations: 32 kB / 446.9 MB, free: 8.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.1462, allocations: 0.6977 MB / 447.6 MB, free: 8.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006802/0.1469, allocations: 391.2 kB / 447.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006195/0.1476, allocations: 177.3 kB / 448.1 MB, free: 7.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00319/0.1508, allocations: 1.025 MB / 449.1 MB, free: 6.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1508, allocations: 3.938 kB / 449.1 MB, free: 6.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.037e-06/0.1508, allocations: 3.984 kB / 449.1 MB, free: 6.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.057e-05/0.1509, allocations: 0 / 449.1 MB, free: 6.445 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002353/0.1532, allocations: 0.9873 MB / 450.1 MB, free: 5.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1533, allocations: 8.031 kB / 450.1 MB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003477/0.1568, allocations: 434.4 kB / 450.6 MB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.1581, allocations: 469.6 kB / 451 MB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.1582, allocations: 57.97 kB / 451.1 MB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/0.1585, allocations: 68 kB / 451.1 MB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.1608, allocations: 1.176 MB / 452.3 MB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.68e-05/0.1609, allocations: 3.906 kB / 452.3 MB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.24e-05/0.161, allocations: 31.98 kB / 452.4 MB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/0.1611, allocations: 73.95 kB / 452.4 MB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002323/0.1634, allocations: 1.233 MB / 453.7 MB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2161/0.3795, allocations: 3.523 MB / 457.2 MB, free: 49.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.381, allocations: 1.061 MB / 458.2 MB, free: 49.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.258e-05/0.381, allocations: 16.48 kB / 458.3 MB, free: 49.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.3811, allocations: 48.78 kB / 458.3 MB, free: 49.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.036e-06/0.3811, allocations: 0 / 458.3 MB, free: 49.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=92): time 0.005722/0.3868, allocations: 3.066 MB / 461.4 MB, free: 48.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.3869, allocations: 84.8 kB / 461.5 MB, free: 48.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.3872, allocations: 360.7 kB / 461.8 MB, free: 48.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.3873, allocations: 42.42 kB / 461.8 MB, free: 48.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.3875, allocations: 316.4 kB / 462.2 MB, free: 48.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.3877, allocations: 319.3 kB / 462.5 MB, free: 48.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.3878, allocations: 16.22 kB / 462.5 MB, free: 48.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.734e-05/0.3879, allocations: 369.8 kB / 462.8 MB, free: 47.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006155/0.3885, allocations: 460 kB / 463.3 MB, free: 47.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005967/0.3891, allocations: 0.5674 MB / 463.9 MB, free: 47.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00064/0.3897, allocations: 0.5398 MB / 464.4 MB, free: 47.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3897, allocations: 4 kB / 464.4 MB, free: 47.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001942/0.3917, allocations: 1.471 MB / 465.9 MB, free: 47.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3917, allocations: 6.5 kB / 465.9 MB, free: 47.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3917, allocations: 0 / 465.9 MB, free: 47.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008709/0.3926, allocations: 333.6 kB / 466.2 MB, free: 47.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/0.3933, allocations: 180.5 kB / 466.4 MB, free: 47.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/0.3974, allocations: 3.96 MB / 470.3 MB, free: 44.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.3979, allocations: 46.09 kB / 470.4 MB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/0.398, allocations: 34.56 kB / 470.4 MB, free: 44.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003331/0.3983, allocations: 301.7 kB / 470.7 MB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.781e-05/0.3984, allocations: 53.62 kB / 470.8 MB, free: 44.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.4006, allocations: 1.562 MB / 472.3 MB, free: 43.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.4006, allocations: 11.78 kB / 472.3 MB, free: 43.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.4007, allocations: 5.594 kB / 472.4 MB, free: 43.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.4007, allocations: 3.562 kB / 472.4 MB, free: 43.72 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004195/0.4049, allocations: 3.028 MB / 475.4 MB, free: 42.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.4049, allocations: 4.906 kB / 475.4 MB, free: 42.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/0.4055, allocations: 165.2 kB / 475.5 MB, free: 42.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007409/0.4062, allocations: 289.2 kB / 475.8 MB, free: 42.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-05/0.4063, allocations: 24.78 kB / 475.9 MB, free: 42.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003853/0.4101, allocations: 3.711 MB / 479.6 MB, free: 39.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.4102, allocations: 10.5 kB / 479.6 MB, free: 39.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.4122, allocations: 1.754 MB / 481.3 MB, free: 38.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.4124, allocations: 140 kB / 481.5 MB, free: 38.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.4125, allocations: 28.42 kB / 481.5 MB, free: 38.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.4129, allocations: 41.95 kB / 481.5 MB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.413, allocations: 77.75 kB / 481.6 MB, free: 38.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.273e-05/0.4131, allocations: 40.53 kB / 481.7 MB, free: 38.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002336/0.4133, allocations: 260.9 kB / 481.9 MB, free: 38.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4133, allocations: 0 / 481.9 MB, free: 38.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000993/0.4143, allocations: 299.8 kB / 482.2 MB, free: 38.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001572/0.4145, allocations: 136.1 kB / 482.3 MB, free: 38.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.4163, allocations: 1.385 MB / 483.7 MB, free: 37.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4163, allocations: 0 / 483.7 MB, free: 37.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009264/0.4172, allocations: 0.8481 MB / 484.6 MB, free: 37.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.4177, allocations: 81.2 kB / 484.6 MB, free: 37.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.4198, allocations: 2.076 MB / 486.7 MB, free: 36.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.4203, allocations: 1.092 MB / 487.8 MB, free: 35.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004186/0.4208, allocations: 183 kB / 488 MB, free: 35.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.4209, allocations: 60.36 kB / 488.1 MB, free: 35.57 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4209, allocations: 3.094 kB / 488.1 MB, free: 35.57 MB / 382.1 MB Notification: Performance of Templates: time 0.01779/0.4387, allocations: 9.055 MB / 497.1 MB, free: 35 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) Environment - environmentSimulation: