Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001137, allocations: 113.7 kB / 17.69 MB, free: 5.309 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.001211/0.001211, allocations: 191 kB / 18.63 MB, free: 4.375 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.413/1.413, allocations: 205.1 MB / 224.5 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1752/0.1752, allocations: 37.99 MB / 309.8 MB, free: 5.988 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.001421/0.001421, allocations: 59.91 kB / 376.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2214, allocations: 55.24 MB / 432 MB, free: 19.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.00441/0.2258, allocations: 4.493 MB / 436.5 MB, free: 14.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.2276, allocations: 1.563 MB / 438.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.2278, allocations: 15.88 kB / 438.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006597/0.2284, allocations: 298.6 kB / 438.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.2288, allocations: 266.6 kB / 438.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.2293, allocations: 263.4 kB / 438.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004252/0.2298, allocations: 0.6313 MB / 439.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/0.2301, allocations: 284.7 kB / 439.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.2303, allocations: 282.9 kB / 440.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004345/0.2308, allocations: 390.8 kB / 440.5 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.479e-05/0.2309, allocations: 44 kB / 440.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.2311, allocations: 147.8 kB / 440.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.2312, allocations: 235.4 kB / 440.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.2314, allocations: 278.6 kB / 441.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.2319, allocations: 0.6541 MB / 441.8 MB, free: 9.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2319, allocations: 4 kB / 441.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2319, allocations: 0 / 441.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.2319, allocations: 0 / 441.8 MB, free: 9.68 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001505/0.2334, allocations: 0.8866 MB / 442.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.2335, allocations: 11.89 kB / 442.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004637/0.2339, allocations: 88.23 kB / 442.8 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008286/0.2348, allocations: 0.492 MB / 443.3 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.2348, allocations: 29.38 kB / 443.3 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.2349, allocations: 56.11 kB / 443.4 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006738/0.2356, allocations: 0.684 MB / 444.1 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.2356, allocations: 3.938 kB / 444.1 MB, free: 7.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.2357, allocations: 27.97 kB / 444.1 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.085e-05/0.2358, allocations: 36.98 kB / 444.1 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006188/0.2364, allocations: 0.5229 MB / 444.7 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.2391, allocations: 3.098 MB / 447.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.2396, allocations: 325.3 kB / 448.1 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.2398, allocations: 173.7 kB / 448.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.2398, allocations: 8.484 kB / 448.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.2399, allocations: 38.56 kB / 448.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.2399, allocations: 4 kB / 448.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001586/0.2415, allocations: 1.21 MB / 449.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.2415, allocations: 89.09 kB / 449.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.2418, allocations: 393.4 kB / 450 MB, free: 1.109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.2418, allocations: 33.7 kB / 450 MB, free: 1.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.242, allocations: 295.4 kB / 450.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.242, allocations: 126.3 kB / 450.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.2421, allocations: 106.1 kB / 450.5 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.934e-05/0.2422, allocations: 354.7 kB / 450.9 MB, free: 188 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.2425, allocations: 193 kB / 451.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/0.2429, allocations: 381.5 kB / 451.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007571/0.2436, allocations: 0.6009 MB / 452 MB, free: 14.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2436, allocations: 0 / 452 MB, free: 14.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001932/0.2456, allocations: 0.8301 MB / 452.9 MB, free: 14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.2456, allocations: 8 kB / 452.9 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.2456, allocations: 8 kB / 452.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.2469, allocations: 261.6 kB / 453.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006206/0.2476, allocations: 143.8 kB / 453.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004765/0.2523, allocations: 4.05 MB / 457.3 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003949/0.2527, allocations: 31.97 kB / 457.3 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/0.2528, allocations: 20 kB / 457.4 MB, free: 9.203 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002973/0.2531, allocations: 221.6 kB / 457.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.2532, allocations: 39.59 kB / 457.6 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007532/0.2539, allocations: 485.1 kB / 458.1 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.254, allocations: 4 kB / 458.1 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.254, allocations: 7.922 kB / 458.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.254, allocations: 3.938 kB / 458.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.2554, allocations: 1.015 MB / 459.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2554, allocations: 3.938 kB / 459.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004554/0.2559, allocations: 91.81 kB / 459.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.2559, allocations: 4 kB / 459.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.2559, allocations: 8 kB / 459.2 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.2559, allocations: 4 kB / 459.2 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.2559, allocations: 7.922 kB / 459.2 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009054/0.2569, allocations: 0.7399 MB / 460 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.257, allocations: 116.6 kB / 460.1 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-05/0.2571, allocations: 11.98 kB / 460.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.2573, allocations: 15.98 kB / 460.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.2574, allocations: 23.97 kB / 460.1 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.2574, allocations: 12 kB / 460.2 MB, free: 6.281 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002641/0.2577, allocations: 279.1 kB / 460.4 MB, free: 6.016 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2577, allocations: 0 / 460.4 MB, free: 6.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005177/0.2582, allocations: 116 kB / 460.5 MB, free: 5.902 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001205/0.2583, allocations: 111.2 kB / 460.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.2598, allocations: 0.802 MB / 461.5 MB, free: 4.957 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.2598, allocations: 4 kB / 461.5 MB, free: 4.953 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.2601, allocations: 196.3 kB / 461.7 MB, free: 4.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005351/0.2606, allocations: 89.58 kB / 461.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.2639, allocations: 1.473 MB / 463.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.2643, allocations: 0.8937 MB / 464.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003257/0.2646, allocations: 135.3 kB / 464.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.2648, allocations: 35.42 kB / 464.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of SimCode: time 6.72e-07/0.2648, allocations: 3.938 kB / 464.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of Templates: time 0.01054/0.2753, allocations: 6.124 MB / 470.4 MB, free: 11.96 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)