Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 111.5 kB / 17.69 MB, free: 5.438 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.001125/0.001125, allocations: 192 kB / 18.63 MB, free: 4.508 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.439/1.439, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1798/0.1798, allocations: 37.99 MB / 309.8 MB, free: 5.977 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.001564/0.001564, allocations: 63.91 kB / 376.8 MB, free: 2.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2228, allocations: 55.25 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003515/0.2264, allocations: 3.471 MB / 435.5 MB, free: 16.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2278, allocations: 1.548 MB / 437 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.549e-05/0.2279, allocations: 7.938 kB / 437.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006442/0.2286, allocations: 247 kB / 437.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000427/0.229, allocations: 282.9 kB / 437.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.2293, allocations: 119.7 kB / 437.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.2295, allocations: 350.9 kB / 438 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.2298, allocations: 141.7 kB / 438.2 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.23, allocations: 147.4 kB / 438.3 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.2302, allocations: 147.5 kB / 438.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.2302, allocations: 20 kB / 438.5 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003541/0.2306, allocations: 335.2 kB / 438.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.2306, allocations: 95.77 kB / 438.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.434e-05/0.2307, allocations: 111.4 kB / 439 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.2311, allocations: 351 kB / 439.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2311, allocations: 3.984 kB / 439.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2311, allocations: 0 / 439.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.2311, allocations: 4 kB / 439.4 MB, free: 12.14 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004798/0.2316, allocations: 0.518 MB / 439.9 MB, free: 11.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.2316, allocations: 15.89 kB / 439.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000777/0.2324, allocations: 96.55 kB / 440 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.2327, allocations: 263.9 kB / 440.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.2327, allocations: 8.375 kB / 440.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.2328, allocations: 20.28 kB / 440.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.2331, allocations: 329.8 kB / 440.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2331, allocations: 4 kB / 440.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.2331, allocations: 8 kB / 440.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.2332, allocations: 15.98 kB / 440.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.2335, allocations: 291.8 kB / 440.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.2348, allocations: 1.268 MB / 442.2 MB, free: 9.129 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.2351, allocations: 233.1 kB / 442.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.2352, allocations: 98.02 kB / 442.5 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.2353, allocations: 3.938 kB / 442.5 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.2353, allocations: 46.48 kB / 442.5 MB, free: 8.723 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.2353, allocations: 0 / 442.5 MB, free: 8.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005958/0.2359, allocations: 437 kB / 443 MB, free: 8.289 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.2359, allocations: 81.05 kB / 443.1 MB, free: 8.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.2361, allocations: 194.4 kB / 443.2 MB, free: 7.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.2361, allocations: 29.7 kB / 443.3 MB, free: 7.953 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.2362, allocations: 151.9 kB / 443.4 MB, free: 7.801 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.2362, allocations: 59.19 kB / 443.5 MB, free: 7.742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.267e-05/0.2363, allocations: 61.72 kB / 443.5 MB, free: 7.676 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.699e-05/0.2363, allocations: 326.8 kB / 443.9 MB, free: 7.348 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.2364, allocations: 83.95 kB / 443.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.2366, allocations: 161.6 kB / 444.1 MB, free: 7.078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.2368, allocations: 268.3 kB / 444.4 MB, free: 6.785 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2368, allocations: 0 / 444.4 MB, free: 6.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003175/0.2372, allocations: 293.1 kB / 444.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.2372, allocations: 8 kB / 444.7 MB, free: 6.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-06/0.2372, allocations: 0 / 444.7 MB, free: 6.484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.2372, allocations: 8.219 kB / 444.7 MB, free: 6.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.2374, allocations: 55.91 kB / 444.7 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2374, allocations: 11.92 kB / 444.7 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.2375, allocations: 15.98 kB / 444.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.2376, allocations: 8 kB / 444.7 MB, free: 6.387 MB / 318.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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.823e-05/0.2377, allocations: 157.8 kB / 444.9 MB, free: 6.223 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.2377, allocations: 19.75 kB / 444.9 MB, free: 6.203 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.238, allocations: 232.2 kB / 445.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2381, allocations: 11.98 kB / 445.2 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.2381, allocations: 0 / 445.2 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2381, allocations: 0 / 445.2 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000983/0.2391, allocations: 0.9476 MB / 446.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.2391, allocations: 4.5 kB / 446.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.2392, allocations: 35.92 kB / 446.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2392, allocations: 11.94 kB / 446.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.2392, allocations: 11.98 kB / 446.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2392, allocations: 7.938 kB / 446.2 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2392, allocations: 11.94 kB / 446.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.2395, allocations: 408.2 kB / 446.6 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.2396, allocations: 100.9 kB / 446.7 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.2396, allocations: 8 kB / 446.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.2398, allocations: 15.92 kB / 446.7 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.2398, allocations: 23.92 kB / 446.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.2398, allocations: 11.94 kB / 446.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.76e-05/0.2399, allocations: 159 kB / 446.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.2399, allocations: 0 / 446.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003237/0.2403, allocations: 48 kB / 446.9 MB, free: 3.988 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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 8.552e-05/0.2404, allocations: 107.1 kB / 447.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.2406, allocations: 231.5 kB / 447.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2406, allocations: 0 / 447.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.2408, allocations: 100.9 kB / 447.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.2412, allocations: 40.23 kB / 447.4 MB, free: 3.512 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006685/0.2419, allocations: 0.5606 MB / 448 MB, free: 2.875 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.2421, allocations: 0.7671 MB / 448.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.2422, allocations: 53.48 kB / 448.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.2422, allocations: 19.44 kB / 448.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2422, allocations: 4 kB / 448.8 MB, free: 2.004 MB / 318.1 MB Notification: Performance of Templates: time 0.003956/0.2462, allocations: 1.872 MB / 450.7 MB, free: 136 kB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)