Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009708/0.0009708, allocations: 171.9 kB / 16.07 MB, free: 5.723 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.221/1.221, allocations: 205.4 MB / 222.2 MB, free: 9.023 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.0007008/0.0007008, allocations: 87.86 kB / 270.6 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1646/0.1646, allocations: 38.07 MB / 356.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003648, allocations: 12 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2308, allocations: 56.33 MB / 479.6 MB, free: 9.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.005452/0.2363, allocations: 5.834 MB / 485.5 MB, free: 5.34 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.2388, allocations: 1.587 MB / 487.1 MB, free: 4.203 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005769/0.2394, allocations: 36.5 kB / 487.1 MB, free: 4.188 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004742/0.2399, allocations: 143 kB / 487.2 MB, free: 4.125 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009629/0.2408, allocations: 418.8 kB / 487.6 MB, free: 3.902 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.2413, allocations: 165.2 kB / 487.8 MB, free: 3.824 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008709/0.2421, allocations: 0.9128 MB / 488.7 MB, free: 3.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.2424, allocations: 162.7 kB / 488.9 MB, free: 3.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.2428, allocations: 283.6 kB / 489.1 MB, free: 3.293 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005594/0.2434, allocations: 378.4 kB / 489.5 MB, free: 3.172 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.2434, allocations: 20.31 kB / 489.5 MB, free: 3.172 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.883e-05/0.2435, allocations: 19.84 kB / 489.6 MB, free: 3.172 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.2437, allocations: 173.6 kB / 489.7 MB, free: 3.125 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.2439, allocations: 245.7 kB / 490 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004/0.2443, allocations: 395.6 kB / 490.4 MB, free: 2.883 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2443, allocations: 5.312 kB / 490.4 MB, free: 2.879 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2443, allocations: 0 / 490.4 MB, free: 2.879 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.2444, allocations: 7.938 kB / 490.4 MB, free: 2.871 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001006/0.2454, allocations: 0.7169 MB / 491.1 MB, free: 2.332 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.2454, allocations: 10.23 kB / 491.1 MB, free: 2.332 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.2455, allocations: 53.12 kB / 491.1 MB, free: 2.305 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000592/0.2461, allocations: 465.1 kB / 491.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.2461, allocations: 33.91 kB / 491.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/0.2462, allocations: 36.56 kB / 491.7 MB, free: 1.957 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006777/0.2469, allocations: 0.4929 MB / 492.2 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.2469, allocations: 0 / 492.2 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.2469, allocations: 16.77 kB / 492.2 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/0.247, allocations: 19.25 kB / 492.2 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005959/0.2476, allocations: 367.1 kB / 492.6 MB, free: 1.562 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.2497, allocations: 2.094 MB / 494.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.2501, allocations: 235.3 kB / 494.9 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.2503, allocations: 131.2 kB / 495 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2504, allocations: 2.875 kB / 495 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.2504, allocations: 36.66 kB / 495 MB, free: 15.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.323e-06/0.2504, allocations: 0 / 495 MB, free: 15.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001198/0.2516, allocations: 0.7585 MB / 495.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.2517, allocations: 80.42 kB / 495.9 MB, free: 15.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.2521, allocations: 380.4 kB / 496.3 MB, free: 14.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.2521, allocations: 30.86 kB / 496.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.2523, allocations: 292.6 kB / 496.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.2524, allocations: 77.83 kB / 496.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.2524, allocations: 5.75 kB / 496.6 MB, free: 14.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2525, allocations: 356.8 kB / 497 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.2527, allocations: 91.98 kB / 497.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.253, allocations: 271.9 kB / 497.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.2534, allocations: 408.1 kB / 497.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2534, allocations: 1.969 kB / 497.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000686/0.2541, allocations: 443.1 kB / 498.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2541, allocations: 7.344 kB / 498.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.2542, allocations: 7.297 kB / 498.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.2543, allocations: 59.84 kB / 498.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.2546, allocations: 80.58 kB / 498.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.2559, allocations: 1.5 MB / 499.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.2561, allocations: 14.91 kB / 499.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.2562, allocations: 22.28 kB / 499.9 MB, free: 11.96 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002467/0.2564, allocations: 207.4 kB / 0.4884 GB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.2565, allocations: 40.98 kB / 0.4884 GB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003696/0.2568, allocations: 235.1 kB / 0.4886 GB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2569, allocations: 6.375 kB / 0.4886 GB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2569, allocations: 5 kB / 0.4886 GB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2569, allocations: 2.688 kB / 0.4886 GB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008953/0.2578, allocations: 0.6817 MB / 0.4893 GB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2578, allocations: 0.9375 kB / 0.4893 GB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.258, allocations: 49.12 kB / 0.4893 GB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.258, allocations: 1.562 kB / 0.4893 GB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.2581, allocations: 10.59 kB / 0.4894 GB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.2581, allocations: 5.875 kB / 0.4894 GB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2581, allocations: 1.375 kB / 0.4894 GB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004983/0.2586, allocations: 439.5 kB / 0.4898 GB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.2587, allocations: 123.7 kB / 0.4899 GB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.2587, allocations: 10.36 kB / 0.4899 GB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.2589, allocations: 12.64 kB / 0.4899 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.2589, allocations: 16.47 kB / 0.4899 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.259, allocations: 9.25 kB / 0.4899 GB, free: 10.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002633/0.2592, allocations: 252.2 kB / 0.4902 GB, free: 10.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2592, allocations: 0 / 0.4902 GB, free: 10.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004434/0.2597, allocations: 91.12 kB / 0.4903 GB, free: 10.62 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * 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 9.623e-05/0.2598, allocations: 106.6 kB / 0.4904 GB, free: 10.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005983/0.2604, allocations: 395.4 kB / 0.4908 GB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2604, allocations: 0 / 0.4908 GB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.2606, allocations: 92.5 kB / 0.4908 GB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.2611, allocations: 86.52 kB / 0.4909 GB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.2626, allocations: 1.081 MB / 0.492 GB, free: 9.594 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.263, allocations: 0.8568 MB / 0.4928 GB, free: 8.848 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.235e-05/0.2631, allocations: 37.19 kB / 0.4929 GB, free: 8.84 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2631, allocations: 4 kB / 0.4929 GB, free: 8.836 MB / 330.7 MB Notification: Performance of Templates: time 0.008194/0.2713, allocations: 5.891 MB / 0.4986 GB, free: 5.805 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)