Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000899/0.0008991, allocations: 171.9 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.225/1.225, allocations: 205.4 MB / 222.2 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006936/0.0006937, allocations: 83.45 kB / 270.6 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1678/0.1678, allocations: 38.07 MB / 356.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003284, allocations: 16 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.218, allocations: 56.32 MB / 479.6 MB, free: 9.242 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003448/0.2215, allocations: 3.234 MB / 482.9 MB, free: 7.207 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.2233, allocations: 1.486 MB / 484.3 MB, free: 6.156 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.2235, allocations: 11.12 kB / 484.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.2237, allocations: 38.86 kB / 484.4 MB, free: 6.133 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006324/0.2243, allocations: 271 kB / 484.7 MB, free: 6 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.2246, allocations: 117.3 kB / 484.8 MB, free: 5.945 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004689/0.2251, allocations: 439.7 kB / 485.2 MB, free: 5.801 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000556/0.2257, allocations: 331.5 kB / 485.5 MB, free: 5.578 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.2259, allocations: 124.7 kB / 485.6 MB, free: 5.527 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.2261, allocations: 147 kB / 485.8 MB, free: 5.477 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.2261, allocations: 8 kB / 485.8 MB, free: 5.477 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006412/0.2268, allocations: 383 kB / 486.2 MB, free: 5.344 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.2269, allocations: 95.83 kB / 486.3 MB, free: 5.316 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.227, allocations: 115.8 kB / 486.4 MB, free: 5.238 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004072/0.2274, allocations: 268.5 kB / 486.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2275, allocations: 4 kB / 486.6 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2275, allocations: 0 / 486.6 MB, free: 5.168 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.2275, allocations: 0 / 486.6 MB, free: 5.168 MB / 314.7 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.000566/0.228, allocations: 488 kB / 487.1 MB, free: 4.723 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2281, allocations: 10 kB / 487.1 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007829/0.2289, allocations: 94.95 kB / 487.2 MB, free: 4.707 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.2291, allocations: 257.2 kB / 487.5 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.2292, allocations: 11.53 kB / 487.5 MB, free: 4.465 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.2292, allocations: 25.67 kB / 487.5 MB, free: 4.453 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.2297, allocations: 316.8 kB / 487.8 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.2297, allocations: 3.984 kB / 487.8 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.2297, allocations: 12.34 kB / 487.8 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/0.2298, allocations: 19.12 kB / 487.9 MB, free: 4.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/0.2302, allocations: 295.7 kB / 488.1 MB, free: 4.176 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.2317, allocations: 1.276 MB / 489.4 MB, free: 3.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004677/0.2321, allocations: 228.7 kB / 489.6 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.2323, allocations: 103.1 kB / 489.7 MB, free: 3.078 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.2323, allocations: 2.031 kB / 489.7 MB, free: 3.078 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.2323, allocations: 40.72 kB / 489.8 MB, free: 3.031 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.983e-06/0.2323, allocations: 0 / 489.8 MB, free: 3.031 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007288/0.2331, allocations: 430.6 kB / 490.2 MB, free: 2.836 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.2331, allocations: 83.98 kB / 490.3 MB, free: 2.738 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.2333, allocations: 203.7 kB / 490.5 MB, free: 2.598 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.2333, allocations: 31.02 kB / 490.5 MB, free: 2.562 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.2334, allocations: 156.2 kB / 490.7 MB, free: 2.426 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.2334, allocations: 60.39 kB / 490.7 MB, free: 2.379 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.2334, allocations: 4 kB / 490.7 MB, free: 2.375 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.2335, allocations: 330.1 kB / 491.1 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.2336, allocations: 87.36 kB / 491.1 MB, free: 2.023 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.2338, allocations: 161.2 kB / 491.3 MB, free: 1.902 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.2341, allocations: 263.6 kB / 491.6 MB, free: 1.734 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2341, allocations: 1.469 kB / 491.6 MB, free: 1.734 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000394/0.2345, allocations: 296.5 kB / 491.8 MB, free: 1.598 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2345, allocations: 7.562 kB / 491.9 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2345, allocations: 5.344 kB / 491.9 MB, free: 1.594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2345, allocations: 4.188 kB / 491.9 MB, free: 1.594 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.2348, allocations: 52.62 kB / 491.9 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.2348, allocations: 8.672 kB / 491.9 MB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.2349, allocations: 15.14 kB / 491.9 MB, free: 1.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.235, allocations: 8.062 kB / 491.9 MB, free: 1.582 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.2351, allocations: 164.4 kB / 492.1 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.2351, allocations: 16.84 kB / 492.1 MB, free: 1.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.2355, allocations: 232.1 kB / 492.3 MB, free: 1.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2355, allocations: 2.125 kB / 492.4 MB, free: 1.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2355, allocations: 1.656 kB / 492.4 MB, free: 1.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2355, allocations: 4.781 kB / 492.4 MB, free: 1.316 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.2367, allocations: 0.9522 MB / 493.3 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2368, allocations: 5.328 kB / 493.3 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.2369, allocations: 35.97 kB / 493.4 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.2369, allocations: 4.75 kB / 493.4 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.2369, allocations: 10.52 kB / 493.4 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.237, allocations: 9.453 kB / 493.4 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.237, allocations: 5.75 kB / 493.4 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.2373, allocations: 420.9 kB / 493.8 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.2374, allocations: 97.55 kB / 493.9 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.2374, allocations: 14.78 kB / 493.9 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2376, allocations: 9.531 kB / 493.9 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.2376, allocations: 30.81 kB / 493.9 MB, free: 204 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.2376, allocations: 12.5 kB / 494 MB, free: 200 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.2377, allocations: 152.1 kB / 494.1 MB, free: 96 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2377, allocations: 1.062 kB / 494.1 MB, free: 96 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.2381, allocations: 50.09 kB / 494.2 MB, free: 92 kB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001011/0.2382, allocations: 107.7 kB / 494.3 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003359/0.2386, allocations: 210.7 kB / 494.5 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2386, allocations: 5.125 kB / 494.5 MB, free: 15.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.2387, allocations: 97.39 kB / 494.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.2392, allocations: 44.88 kB / 494.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009741/0.2402, allocations: 0.692 MB / 495.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.2406, allocations: 0.7596 MB / 496.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.2407, allocations: 24.88 kB / 496.1 MB, free: 14.65 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2407, allocations: 1 kB / 496.1 MB, free: 14.65 MB / 330.7 MB Notification: Performance of Templates: time 0.00463/0.2453, allocations: 2.599 MB / 498.7 MB, free: 14.14 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)