Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 112.5 kB / 17.68 MB, free: 5.496 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.001266/0.001266, allocations: 190.9 kB / 18.62 MB, free: 4.562 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.512/1.512, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1757/0.1757, allocations: 37.98 MB / 309.8 MB, free: 5.965 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.001499/0.001499, allocations: 63.19 kB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2478, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.004487/0.2523, allocations: 4.083 MB / 436.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.2534, allocations: 0.8969 MB / 437 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.2536, allocations: 15.88 kB / 437 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.2537, allocations: 43.58 kB / 437.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.2541, allocations: 171 kB / 437.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.2543, allocations: 75.89 kB / 437.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.2546, allocations: 402.6 kB / 437.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.2548, allocations: 110 kB / 437.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.255, allocations: 179.2 kB / 438 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.2553, allocations: 187.3 kB / 438.2 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.2553, allocations: 20 kB / 438.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.601e-05/0.2553, allocations: 24 kB / 438.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.343e-05/0.2554, allocations: 83.72 kB / 438.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.2555, allocations: 147.2 kB / 438.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.2558, allocations: 279 kB / 438.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2558, allocations: 0 / 438.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2558, allocations: 0 / 438.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.2558, allocations: 0 / 438.7 MB, free: 12.79 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008585/0.2567, allocations: 0.6048 MB / 439.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2567, allocations: 11.89 kB / 439.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.2568, allocations: 32.56 kB / 439.3 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.2572, allocations: 335 kB / 439.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2573, allocations: 16.81 kB / 439.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.2574, allocations: 47.98 kB / 439.7 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.2577, allocations: 286 kB / 440 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2577, allocations: 0 / 440 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.2578, allocations: 12 kB / 440 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2578, allocations: 8 kB / 440 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.258, allocations: 199.5 kB / 440.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.2592, allocations: 1.268 MB / 441.5 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.2594, allocations: 127.8 kB / 441.6 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.481e-05/0.2595, allocations: 38.64 kB / 441.7 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.2595, allocations: 0 / 441.7 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.2595, allocations: 38.55 kB / 441.7 MB, free: 9.531 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.2595, allocations: 0 / 441.7 MB, free: 9.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007945/0.2603, allocations: 0.531 MB / 442.2 MB, free: 8.945 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.2604, allocations: 106.8 kB / 442.3 MB, free: 8.816 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.2606, allocations: 246.6 kB / 442.6 MB, free: 8.566 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.2606, allocations: 29.7 kB / 442.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.2607, allocations: 191.7 kB / 442.8 MB, free: 8.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.2607, allocations: 39.64 kB / 442.8 MB, free: 8.301 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.523e-05/0.2608, allocations: 53.61 kB / 442.9 MB, free: 8.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.2608, allocations: 334.8 kB / 443.2 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.436e-05/0.2609, allocations: 39.92 kB / 443.2 MB, free: 7.867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.42e-05/0.261, allocations: 139.7 kB / 443.4 MB, free: 7.688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.2612, allocations: 195.4 kB / 443.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2612, allocations: 8 kB / 443.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003209/0.2615, allocations: 222 kB / 443.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2615, allocations: 7.938 kB / 443.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.2615, allocations: 4 kB / 443.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001189/0.2617, allocations: 33.25 kB / 443.8 MB, free: 7.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.262, allocations: 67.83 kB / 443.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.262, allocations: 4 kB / 443.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.2621, allocations: 4 kB / 443.9 MB, free: 7.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.2621, allocations: 19.92 kB / 443.9 MB, free: 7.082 MB / 318.1 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.2622, allocations: 145.8 kB / 444.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.2623, allocations: 23.72 kB / 444.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.2625, allocations: 139.4 kB / 444.2 MB, free: 6.766 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2625, allocations: 8.031 kB / 444.2 MB, free: 6.758 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2625, allocations: 3.938 kB / 444.2 MB, free: 6.754 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2625, allocations: 0 / 444.2 MB, free: 6.754 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.2628, allocations: 285.5 kB / 444.5 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2628, allocations: 4 kB / 444.5 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.263, allocations: 31.92 kB / 444.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.263, allocations: 4 kB / 444.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.263, allocations: 0 / 444.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.263, allocations: 3.938 kB / 444.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.263, allocations: 8 kB / 444.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.2633, allocations: 371.3 kB / 444.9 MB, free: 5.992 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.2634, allocations: 92.83 kB / 445 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.2634, allocations: 11.94 kB / 445 MB, free: 5.871 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.2636, allocations: 3.938 kB / 445 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.2636, allocations: 12.05 kB / 445.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.2636, allocations: 8 kB / 445.1 MB, free: 5.848 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.2637, allocations: 170 kB / 445.2 MB, free: 5.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2638, allocations: 0 / 445.2 MB, free: 5.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003184/0.2641, allocations: 47.98 kB / 445.3 MB, free: 5.633 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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 7.68e-05/0.2642, allocations: 95.25 kB / 445.4 MB, free: 5.531 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002726/0.2644, allocations: 214.2 kB / 445.6 MB, free: 5.301 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2644, allocations: 4 kB / 445.6 MB, free: 5.297 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.547e-05/0.2645, allocations: 51.92 kB / 445.6 MB, free: 5.246 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.265, allocations: 48.52 kB / 445.7 MB, free: 5.199 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000747/0.2658, allocations: 0.5999 MB / 446.3 MB, free: 4.566 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.266, allocations: 0.7714 MB / 447.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.135e-05/0.2661, allocations: 34.22 kB / 447.1 MB, free: 3.734 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.2661, allocations: 23.44 kB / 447.1 MB, free: 3.711 MB / 318.1 MB Notification: Performance of SimCode: time 9.52e-07/0.2661, allocations: 3.938 kB / 447.1 MB, free: 3.707 MB / 318.1 MB Notification: Performance of Templates: time 0.004462/0.2706, allocations: 2.19 MB / 449.3 MB, free: 1.527 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1)