Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, 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.211/1.211, allocations: 205.4 MB / 222.2 MB, free: 9.035 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.0007346/0.0007344, allocations: 74.44 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1677/0.1677, allocations: 38.07 MB / 356.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003403, allocations: 8 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2131, allocations: 56.33 MB / 479.6 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.003465/0.2166, allocations: 3.671 MB / 483.3 MB, free: 6.879 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.2186, allocations: 1.799 MB / 485.1 MB, free: 5.605 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.2188, allocations: 15.91 kB / 485.1 MB, free: 5.598 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.2189, allocations: 50.92 kB / 485.2 MB, free: 5.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000754/0.2197, allocations: 368.4 kB / 485.5 MB, free: 5.402 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.22, allocations: 135.1 kB / 485.7 MB, free: 5.336 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006492/0.2207, allocations: 0.6357 MB / 486.3 MB, free: 5.125 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007116/0.2214, allocations: 434.9 kB / 486.7 MB, free: 4.859 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.2217, allocations: 171.2 kB / 486.9 MB, free: 4.793 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.222, allocations: 218.6 kB / 487.1 MB, free: 4.723 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.222, allocations: 10.88 kB / 487.1 MB, free: 4.723 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000772/0.2228, allocations: 0.5047 MB / 487.6 MB, free: 4.539 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.223, allocations: 149.2 kB / 487.8 MB, free: 4.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.2231, allocations: 162.9 kB / 487.9 MB, free: 4.395 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004835/0.2236, allocations: 372.8 kB / 488.3 MB, free: 4.309 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2236, allocations: 1.562 kB / 488.3 MB, free: 4.309 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2236, allocations: 0 / 488.3 MB, free: 4.309 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.2236, allocations: 0 / 488.3 MB, free: 4.309 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0006171/0.2243, allocations: 0.5382 MB / 488.8 MB, free: 3.832 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.2243, allocations: 14.75 kB / 488.8 MB, free: 3.828 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.2254, allocations: 131.8 kB / 489 MB, free: 3.809 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.2257, allocations: 289 kB / 489.2 MB, free: 3.555 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.2257, allocations: 15.59 kB / 489.3 MB, free: 3.551 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.2258, allocations: 25.42 kB / 489.3 MB, free: 3.543 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006025/0.2264, allocations: 446.4 kB / 489.7 MB, free: 3.324 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.2264, allocations: 1.375 kB / 489.7 MB, free: 3.324 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.2265, allocations: 11.69 kB / 489.7 MB, free: 3.316 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.2265, allocations: 21.67 kB / 489.8 MB, free: 3.316 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000588/0.2271, allocations: 423.3 kB / 490.2 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.2289, allocations: 1.739 MB / 491.9 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.2293, allocations: 283.7 kB / 492.2 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.2295, allocations: 135 kB / 492.3 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.2295, allocations: 6.531 kB / 492.3 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.2295, allocations: 37.03 kB / 492.4 MB, free: 1.605 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.804e-06/0.2296, allocations: 0 / 492.4 MB, free: 1.605 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.001627/0.2312, allocations: 0.7918 MB / 493.2 MB, free: 1.215 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.2312, allocations: 79.83 kB / 493.2 MB, free: 1.121 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.2314, allocations: 211.7 kB / 493.4 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.2314, allocations: 30.98 kB / 493.5 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.2315, allocations: 179.9 kB / 493.6 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/0.2316, allocations: 78.75 kB / 493.7 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/0.2316, allocations: 5.469 kB / 493.7 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.719e-05/0.2316, allocations: 335.3 kB / 494.1 MB, free: 416 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.2318, allocations: 106.8 kB / 494.2 MB, free: 380 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.232, allocations: 208 kB / 494.4 MB, free: 216 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.2324, allocations: 339 kB / 494.7 MB, free: 15.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2324, allocations: 2.281 kB / 494.7 MB, free: 15.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007846/0.2332, allocations: 426.9 kB / 495.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2332, allocations: 9.406 kB / 495.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2332, allocations: 3.516 kB / 495.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000369/0.2336, allocations: 91.03 kB / 495.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.2338, allocations: 58.28 kB / 495.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/0.2357, allocations: 1.806 MB / 497.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.2359, allocations: 15.2 kB / 497.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.2359, allocations: 11.36 kB / 497.1 MB, free: 14.21 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001987/0.2361, allocations: 187.4 kB / 497.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.2362, allocations: 21.16 kB / 497.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007376/0.2369, allocations: 378.3 kB / 497.7 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2369, allocations: 3.594 kB / 497.7 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.237, allocations: 4.938 kB / 497.7 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.237, allocations: 2.844 kB / 497.7 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.2384, allocations: 0.9135 MB / 498.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.2385, allocations: 6.062 kB / 498.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.2386, allocations: 39.39 kB / 498.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002692/0.2389, allocations: 71.69 kB / 498.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.2389, allocations: 10.92 kB / 498.7 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.2406, allocations: 1.704 MB / 0.4887 GB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2406, allocations: 1.156 kB / 0.4887 GB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/0.2413, allocations: 467.9 kB / 0.4891 GB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.769e-05/0.2414, allocations: 102.1 kB / 0.4892 GB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.2414, allocations: 6.875 kB / 0.4892 GB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.2416, allocations: 11 kB / 0.4893 GB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.2416, allocations: 19.45 kB / 0.4893 GB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.2417, allocations: 7.234 kB / 0.4893 GB, free: 11.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001339/0.2418, allocations: 151.9 kB / 0.4894 GB, free: 11.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2418, allocations: 0 / 0.4894 GB, free: 11.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004902/0.2423, allocations: 83.19 kB / 0.4895 GB, free: 11.25 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001065/0.2424, allocations: 106 kB / 0.4896 GB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007128/0.2431, allocations: 431.3 kB / 0.49 GB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2432, allocations: 4.062 kB / 0.49 GB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.2436, allocations: 283.7 kB / 0.4903 GB, free: 10.76 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.244, allocations: 31.52 kB / 0.4903 GB, free: 10.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.2451, allocations: 0.7725 MB / 0.4911 GB, free: 10.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.2454, allocations: 0.7973 MB / 0.4919 GB, free: 9.504 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.659e-05/0.2455, allocations: 26.81 kB / 0.4919 GB, free: 9.492 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2455, allocations: 0 / 0.4919 GB, free: 9.492 MB / 330.7 MB Notification: Performance of Templates: time 0.006345/0.2519, allocations: 4.347 MB / 0.4961 GB, free: 7.25 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)