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.002396/0.002395, allocations: 353.7 kB / 16.57 MB, free: 5.59 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.508/3.508, allocations: 388.9 MB / 406.2 MB, free: 11.98 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.003513/0.003513, allocations: 223.8 kB / 451.6 MB, free: 14.59 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.6616/0.6616, allocations: 76 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.0004391, allocations: 16 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0694/0.06987, allocations: 53.22 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.004267/0.07418, allocations: 4.249 MB / 0.6778 GB, free: 56.54 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.07578, allocations: 1.116 MB / 0.6788 GB, free: 55.42 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.07602, allocations: 23.81 kB / 0.6789 GB, free: 55.4 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.07617, allocations: 51.59 kB / 0.6789 GB, free: 55.35 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005256/0.07671, allocations: 222.7 kB / 0.6791 GB, free: 55.13 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.077, allocations: 115.8 kB / 0.6792 GB, free: 55.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004778/0.07749, allocations: 0.5177 MB / 0.6797 GB, free: 54.5 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.07771, allocations: 114.2 kB / 0.6799 GB, free: 54.38 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.07795, allocations: 171.1 kB / 0.68 GB, free: 54.21 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.07831, allocations: 227.2 kB / 0.6802 GB, free: 53.99 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.63e-05/0.07838, allocations: 19.94 kB / 0.6803 GB, free: 53.97 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.845e-05/0.07845, allocations: 12 kB / 0.6803 GB, free: 53.96 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.07857, allocations: 107.7 kB / 0.6804 GB, free: 53.86 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.391e-05/0.07866, allocations: 85.52 kB / 0.6804 GB, free: 53.77 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.07892, allocations: 271.3 kB / 0.6807 GB, free: 53.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.793e-06/0.07894, allocations: 0 / 0.6807 GB, free: 53.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.607e-06/0.07895, allocations: 4 kB / 0.6807 GB, free: 53.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.07897, allocations: 0 / 0.6807 GB, free: 53.5 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.001113/0.08009, allocations: 0.6476 MB / 0.6813 GB, free: 52.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.08013, allocations: 8.828 kB / 0.6814 GB, free: 52.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.067e-05/0.08023, allocations: 39.53 kB / 0.6814 GB, free: 52.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005988/0.08084, allocations: 374.6 kB / 0.6817 GB, free: 52.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.08088, allocations: 20.56 kB / 0.6818 GB, free: 52.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.08094, allocations: 27.95 kB / 0.6818 GB, free: 52.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00055/0.0815, allocations: 360.7 kB / 0.6821 GB, free: 51.92 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.08153, allocations: 4 kB / 0.6821 GB, free: 51.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.08158, allocations: 12 kB / 0.6822 GB, free: 51.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.131e-06/0.0816, allocations: 4 kB / 0.6822 GB, free: 51.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.08208, allocations: 257.9 kB / 0.6824 GB, free: 51.64 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.08382, allocations: 1.446 MB / 0.6838 GB, free: 50.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.08412, allocations: 161 kB / 0.684 GB, free: 49.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.08428, allocations: 77.73 kB / 0.684 GB, free: 49.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.08431, allocations: 4 kB / 0.684 GB, free: 49.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.08434, allocations: 38.5 kB / 0.6841 GB, free: 49.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 2.407e-06/0.08435, allocations: 0 / 0.6841 GB, free: 49.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.001157/0.08552, allocations: 0.6733 MB / 0.6847 GB, free: 49.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.08557, allocations: 81.05 kB / 0.6848 GB, free: 48.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.08589, allocations: 300.5 kB / 0.6851 GB, free: 48.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.08592, allocations: 29.7 kB / 0.6851 GB, free: 48.63 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.08603, allocations: 215.6 kB / 0.6853 GB, free: 48.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.08609, allocations: 55.33 kB / 0.6854 GB, free: 48.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.345e-05/0.08611, allocations: 8 kB / 0.6854 GB, free: 48.35 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.681e-05/0.08619, allocations: 346.8 kB / 0.6857 GB, free: 48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.08633, allocations: 67.95 kB / 0.6858 GB, free: 47.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.08652, allocations: 165.6 kB / 0.6859 GB, free: 47.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.0867, allocations: 91.84 kB / 0.686 GB, free: 47.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-06/0.08672, allocations: 0 / 0.686 GB, free: 47.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004834/0.08721, allocations: 287.8 kB / 0.6863 GB, free: 47.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.08724, allocations: 11.94 kB / 0.6863 GB, free: 47.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.411e-06/0.08726, allocations: 0 / 0.6863 GB, free: 47.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.08728, allocations: 8 kB / 0.6863 GB, free: 47.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.08758, allocations: 59.89 kB / 0.6864 GB, free: 47.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.08761, allocations: 7.938 kB / 0.6864 GB, free: 47.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.08783, allocations: 15.98 kB / 0.6864 GB, free: 47.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.08787, allocations: 12 kB / 0.6864 GB, free: 47.24 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.000157/0.08804, allocations: 169.6 kB / 0.6866 GB, free: 47.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.667e-05/0.08811, allocations: 35.66 kB / 0.6866 GB, free: 47.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004115/0.08854, allocations: 227.5 kB / 0.6868 GB, free: 46.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.882e-06/0.08856, allocations: 4 kB / 0.6868 GB, free: 46.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.972e-06/0.08857, allocations: 0 / 0.6868 GB, free: 46.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.08859, allocations: 4 kB / 0.6868 GB, free: 46.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008046/0.0894, allocations: 0.6162 MB / 0.6874 GB, free: 46.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.441e-06/0.08942, allocations: 0 / 0.6874 GB, free: 46.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.08968, allocations: 43.95 kB / 0.6875 GB, free: 46.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.483e-06/0.0897, allocations: 0 / 0.6875 GB, free: 46.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.08973, allocations: 4 kB / 0.6875 GB, free: 46.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.028e-06/0.08974, allocations: 0 / 0.6875 GB, free: 46.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.574e-06/0.08975, allocations: 7.984 kB / 0.6875 GB, free: 46.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005626/0.09032, allocations: 428.9 kB / 0.6879 GB, free: 45.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.116e-05/0.09041, allocations: 112.7 kB / 0.688 GB, free: 45.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.09047, allocations: 0 / 0.688 GB, free: 45.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.09069, allocations: 15.98 kB / 0.688 GB, free: 45.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.09073, allocations: 7.984 kB / 0.688 GB, free: 45.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.09076, allocations: 8 kB / 0.688 GB, free: 45.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002058/0.09098, allocations: 207 kB / 0.6882 GB, free: 45.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.03e-07/0.09099, allocations: 4 kB / 0.6882 GB, free: 45.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004276/0.09143, allocations: 60 kB / 0.6883 GB, free: 45.2 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 8.583e-05/0.09152, allocations: 95.25 kB / 0.6884 GB, free: 45.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000351/0.09188, allocations: 195.6 kB / 0.6886 GB, free: 44.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.603e-06/0.0919, allocations: 0 / 0.6886 GB, free: 44.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.09207, allocations: 91.83 kB / 0.6887 GB, free: 44.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005781/0.09266, allocations: 73.84 kB / 0.6887 GB, free: 44.74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.09376, allocations: 0.7979 MB / 0.6895 GB, free: 43.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.09404, allocations: 0.8184 MB / 0.6903 GB, free: 43.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002385/0.09429, allocations: 50.94 kB / 0.6904 GB, free: 43.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.964e-05/0.0944, allocations: 31.42 kB / 0.6904 GB, free: 42.99 MB / 442.7 MB Notification: Performance of SimCode: time 1.364e-06/0.09441, allocations: 4 kB / 0.6904 GB, free: 42.98 MB / 442.7 MB Notification: Performance of Templates: time 0.007378/0.1018, allocations: 2.713 MB / 0.693 GB, free: 40.29 MB / 442.7 MB