Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002434/0.002438, allocations: 356.2 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.339/3.339, allocations: 388.9 MB / 406.2 MB, free: 11.92 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.003211/0.003211, allocations: 245.2 kB / 451.6 MB, free: 14.51 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.6236/0.6236, allocations: 76 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004593, allocations: 8 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06645/0.06693, allocations: 53.24 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.006224/0.0732, allocations: 6.701 MB / 0.6802 GB, free: 54.09 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003339/0.07658, allocations: 2.257 MB / 0.6824 GB, free: 51.83 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003481/0.07695, allocations: 43.75 kB / 0.6824 GB, free: 51.79 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.07735, allocations: 150.9 kB / 0.6825 GB, free: 51.64 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.07837, allocations: 0.5365 MB / 0.6831 GB, free: 51.1 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007383/0.07912, allocations: 319.3 kB / 0.6834 GB, free: 50.79 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.0802, allocations: 1.477 MB / 0.6848 GB, free: 49.3 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.08136, allocations: 0.8439 MB / 0.6856 GB, free: 48.43 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004366/0.08181, allocations: 430.2 kB / 0.686 GB, free: 48 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007592/0.08259, allocations: 0.7052 MB / 0.6867 GB, free: 47.3 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.08272, allocations: 48 kB / 0.6868 GB, free: 47.25 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009639/0.08369, allocations: 0.5459 MB / 0.6873 GB, free: 46.7 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003657/0.08407, allocations: 419 kB / 0.6877 GB, free: 46.29 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.08426, allocations: 197.2 kB / 0.6879 GB, free: 46.09 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009321/0.08521, allocations: 1.153 MB / 0.689 GB, free: 44.94 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.611e-06/0.08522, allocations: 0 / 0.689 GB, free: 44.94 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.808e-06/0.08524, allocations: 0 / 0.689 GB, free: 44.94 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.08526, allocations: 0 / 0.689 GB, free: 44.94 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.00249/0.08775, allocations: 1.227 MB / 0.6902 GB, free: 43.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.0878, allocations: 12.77 kB / 0.6902 GB, free: 43.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007159/0.08852, allocations: 146.7 kB / 0.6904 GB, free: 43.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.08972, allocations: 0.6482 MB / 0.691 GB, free: 42.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.08995, allocations: 183.1 kB / 0.6912 GB, free: 42.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.09016, allocations: 83.94 kB / 0.6913 GB, free: 42.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.09252, allocations: 1.422 MB / 0.6927 GB, free: 41.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/0.09257, allocations: 3.984 kB / 0.6927 GB, free: 41.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.0927, allocations: 31.98 kB / 0.6927 GB, free: 41.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002219/0.09293, allocations: 81.95 kB / 0.6928 GB, free: 40.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002918/0.09586, allocations: 1.561 MB / 0.6943 GB, free: 39.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006661/0.1025, allocations: 4.459 MB / 0.6986 GB, free: 34.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/0.1051, allocations: 1.248 MB / 0.6999 GB, free: 33.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.1065, allocations: 0.8047 MB / 0.7007 GB, free: 32.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.23e-05/0.1066, allocations: 16.53 kB / 0.7007 GB, free: 32.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.1066, allocations: 43.22 kB / 0.7007 GB, free: 32.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=101): time 4.437e-06/0.1067, allocations: 0 / 0.7007 GB, free: 32.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=102): time 0.007364/0.114, allocations: 3.948 MB / 0.7046 GB, free: 28.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.1141, allocations: 90.06 kB / 0.7046 GB, free: 28.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.1145, allocations: 394 kB / 0.705 GB, free: 28.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.733e-05/0.1146, allocations: 45.69 kB / 0.7051 GB, free: 28.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.1148, allocations: 344.2 kB / 0.7054 GB, free: 27.72 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.1151, allocations: 354.9 kB / 0.7057 GB, free: 27.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.1152, allocations: 16 kB / 0.7058 GB, free: 27.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1153, allocations: 374.8 kB / 0.7061 GB, free: 26.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.1165, allocations: 0.6149 MB / 0.7067 GB, free: 26.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.1177, allocations: 0.762 MB / 0.7075 GB, free: 25.56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.119, allocations: 0.6862 MB / 0.7081 GB, free: 24.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.119, allocations: 0 / 0.7081 GB, free: 24.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002957/0.122, allocations: 1.635 MB / 0.7097 GB, free: 23.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.122, allocations: 15.89 kB / 0.7097 GB, free: 23.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1221, allocations: 4 kB / 0.7097 GB, free: 23.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.1222, allocations: 36.84 kB / 0.7098 GB, free: 23.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002661/0.1249, allocations: 0.6244 MB / 0.7104 GB, free: 22.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005865/0.1308, allocations: 6.415 MB / 0.7166 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008464/0.1317, allocations: 95.84 kB / 0.7167 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-05/0.1318, allocations: 32.08 kB / 0.7168 GB, free: 15.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004817/0.1323, allocations: 318.9 kB / 0.7171 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.1325, allocations: 71.14 kB / 0.7171 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.1354, allocations: 1.635 MB / 0.7187 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.564e-05/0.1355, allocations: 20 kB / 0.7188 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.955e-06/0.1355, allocations: 0 / 0.7188 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.1355, allocations: 3.984 kB / 0.7188 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004918/0.1404, allocations: 2.92 MB / 0.7216 GB, free: 10.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.1405, allocations: 7.984 kB / 0.7216 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003238/0.1437, allocations: 0.6791 MB / 0.7223 GB, free: 9.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001187/0.1438, allocations: 40.83 kB / 0.7223 GB, free: 9.637 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-05/0.1439, allocations: 19.95 kB / 0.7223 GB, free: 9.617 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009942/0.145, allocations: 1.471 MB / 0.7238 GB, free: 8.012 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.961e-06/0.145, allocations: 8.094 kB / 0.7238 GB, free: 8.004 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00423/0.1492, allocations: 2.596 MB / 0.7263 GB, free: 5.344 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.1494, allocations: 132.2 kB / 0.7264 GB, free: 5.195 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.1495, allocations: 24 kB / 0.7265 GB, free: 5.172 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000631/0.1501, allocations: 83.91 kB / 0.7265 GB, free: 5.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.1503, allocations: 84.42 kB / 0.7266 GB, free: 5.008 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.087e-05/0.1504, allocations: 24 kB / 0.7267 GB, free: 4.984 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002896/0.1507, allocations: 279.1 kB / 0.7269 GB, free: 4.707 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.1507, allocations: 0 / 0.7269 GB, free: 4.707 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009883/0.1517, allocations: 236 kB / 0.7271 GB, free: 4.477 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002463/0.152, allocations: 158.9 kB / 0.7273 GB, free: 4.312 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004452/0.1565, allocations: 1.986 MB / 0.7292 GB, free: 2.316 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.509e-06/0.1565, allocations: 0.5625 kB / 0.7292 GB, free: 2.316 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003118/0.1596, allocations: 1.357 MB / 0.7306 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009479/0.1606, allocations: 149.5 kB / 0.7307 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2234/0.384, allocations: 3.03 MB / 0.7337 GB, free: 127.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008208/0.3848, allocations: 1.097 MB / 0.7347 GB, free: 126.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001003/0.3859, allocations: 271.2 kB / 0.735 GB, free: 126.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.3862, allocations: 57.91 kB / 0.735 GB, free: 126.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.429e-06/0.3862, allocations: 4.219 kB / 0.7351 GB, free: 126.5 MB / 442.7 MB Notification: Performance of Templates: time 0.02261/0.4088, allocations: 9.772 MB / 0.7446 GB, free: 126.1 MB / 442.7 MB