Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002598/0.002604, allocations: 361.6 kB / 17.21 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.711/3.711, allocations: 388.9 MB / 406.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003731/0.003731, allocations: 229.6 kB / 452.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7334/0.7334, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004486, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09016/0.09064, allocations: 53.23 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4465/0.5372, allocations: 91.32 MB / 0.7634 GB, free: 81.86 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.5375, allocations: 97.39 kB / 0.7635 GB, free: 81.86 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03227/0.5698, allocations: 7.652 MB / 0.771 GB, free: 81.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5699, allocations: 1.25 kB / 0.771 GB, free: 81.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.799e-05/0.5699, allocations: 5.906 kB / 0.771 GB, free: 81.05 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001561/0.5715, allocations: 0.6576 MB / 0.7716 GB, free: 80.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.5715, allocations: 10.91 kB / 0.7716 GB, free: 80.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.5717, allocations: 44.16 kB / 0.7717 GB, free: 80.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.573, allocations: 492.1 kB / 0.7721 GB, free: 80.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.573, allocations: 14.72 kB / 0.7721 GB, free: 80.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.5731, allocations: 30.81 kB / 0.7722 GB, free: 80.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006896/0.5738, allocations: 363.3 kB / 0.7725 GB, free: 80.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.5738, allocations: 7.641 kB / 0.7725 GB, free: 80.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.5739, allocations: 6.438 kB / 0.7725 GB, free: 80.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.5739, allocations: 7.688 kB / 0.7725 GB, free: 80.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006028/0.5745, allocations: 258.7 kB / 0.7728 GB, free: 80.19 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.5765, allocations: 1.425 MB / 0.7742 GB, free: 79.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.5769, allocations: 159 kB / 0.7743 GB, free: 79.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.5771, allocations: 82.36 kB / 0.7744 GB, free: 79.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.5771, allocations: 4.172 kB / 0.7744 GB, free: 79.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.5772, allocations: 42.28 kB / 0.7745 GB, free: 79.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 2.775e-06/0.5772, allocations: 3.938 kB / 0.7745 GB, free: 79.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.001471/0.5786, allocations: 0.6708 MB / 0.7751 GB, free: 78.81 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.5787, allocations: 81.45 kB / 0.7752 GB, free: 78.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.5791, allocations: 303.8 kB / 0.7755 GB, free: 78.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.5791, allocations: 25.7 kB / 0.7755 GB, free: 78.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.5792, allocations: 221.4 kB / 0.7757 GB, free: 78.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.5793, allocations: 57.19 kB / 0.7758 GB, free: 78.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.5793, allocations: 3.875 kB / 0.7758 GB, free: 78.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.82e-05/0.5794, allocations: 342 kB / 0.7761 GB, free: 78.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.5796, allocations: 66.42 kB / 0.7762 GB, free: 78.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.5798, allocations: 174.1 kB / 0.7763 GB, free: 77.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.58, allocations: 90.91 kB / 0.7764 GB, free: 77.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5801, allocations: 3.594 kB / 0.7764 GB, free: 77.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005632/0.5806, allocations: 282.8 kB / 0.7767 GB, free: 77.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5807, allocations: 7.688 kB / 0.7767 GB, free: 77.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5807, allocations: 5.297 kB / 0.7767 GB, free: 77.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.5807, allocations: 3.875 kB / 0.7767 GB, free: 77.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/0.5812, allocations: 61.78 kB / 0.7768 GB, free: 77.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.5812, allocations: 3.844 kB / 0.7768 GB, free: 77.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.5815, allocations: 18.17 kB / 0.7768 GB, free: 77.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.5815, allocations: 14.39 kB / 0.7768 GB, free: 77.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 29 * 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.0002159/0.5817, allocations: 170.5 kB / 0.777 GB, free: 77.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.5818, allocations: 35.14 kB / 0.777 GB, free: 77.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/0.5824, allocations: 232 kB / 0.7772 GB, free: 77.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5824, allocations: 0 / 0.7772 GB, free: 77.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.5824, allocations: 3.969 kB / 0.7772 GB, free: 77.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.5824, allocations: 10.23 kB / 0.7772 GB, free: 77.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009595/0.5834, allocations: 0.6165 MB / 0.7778 GB, free: 77.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5834, allocations: 0 / 0.7778 GB, free: 77.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.5838, allocations: 37.45 kB / 0.7779 GB, free: 77.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.5838, allocations: 0 / 0.7779 GB, free: 77.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.5838, allocations: 7.531 kB / 0.7779 GB, free: 77.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.5838, allocations: 0 / 0.7779 GB, free: 77.37 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5839, allocations: 6.469 kB / 0.7779 GB, free: 77.37 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006857/0.5845, allocations: 426.7 kB / 0.7783 GB, free: 77.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.5846, allocations: 108.2 kB / 0.7784 GB, free: 77.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.5847, allocations: 4.562 kB / 0.7784 GB, free: 77.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.585, allocations: 10.81 kB / 0.7784 GB, free: 77.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.585, allocations: 14.62 kB / 0.7784 GB, free: 77.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.585, allocations: 7.969 kB / 0.7784 GB, free: 77.08 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002756/0.5853, allocations: 209.4 kB / 0.7786 GB, free: 77 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.523e-06/0.5853, allocations: 0 / 0.7786 GB, free: 77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004607/0.5858, allocations: 67.22 kB / 0.7787 GB, free: 77 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0001475/0.586, allocations: 116.4 kB / 0.7788 GB, free: 76.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000442/0.5864, allocations: 186.1 kB / 0.779 GB, free: 76.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5864, allocations: 4.219 kB / 0.779 GB, free: 76.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.5867, allocations: 90.33 kB / 0.7791 GB, free: 76.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007021/0.5874, allocations: 71.88 kB / 0.7791 GB, free: 76.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.5887, allocations: 0.7883 MB / 0.7799 GB, free: 76.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.589, allocations: 0.8172 MB / 0.7807 GB, free: 75.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003122/0.5893, allocations: 58.73 kB / 0.7808 GB, free: 75.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.5895, allocations: 26.09 kB / 0.7808 GB, free: 75.72 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5895, allocations: 0 / 0.7808 GB, free: 75.72 MB / 442.7 MB Notification: Performance of Templates: time 0.008633/0.5981, allocations: 2.728 MB / 0.7835 GB, free: 75.1 MB / 442.7 MB