Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004756/0.004761, allocations: 361.4 kB / 17.21 MB, free: 4.926 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.914/3.914, allocations: 388.9 MB / 406.8 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.003557/0.003557, allocations: 235.8 kB / 452.2 MB, free: 14.52 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.7878/0.7878, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006172/0.0006174, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09482, allocations: 53.24 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004976/0.09986, allocations: 3.996 MB / 0.6781 GB, free: 56.8 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.1021, allocations: 1.034 MB / 0.6791 GB, free: 55.77 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002984/0.1024, allocations: 27.81 kB / 0.6792 GB, free: 55.74 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.1026, allocations: 43.61 kB / 0.6792 GB, free: 55.7 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006378/0.1033, allocations: 194.8 kB / 0.6794 GB, free: 55.5 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.1036, allocations: 107.8 kB / 0.6795 GB, free: 55.4 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004714/0.1041, allocations: 414.5 kB / 0.6799 GB, free: 54.99 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.1043, allocations: 64.78 kB / 0.68 GB, free: 54.92 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.1046, allocations: 131.3 kB / 0.6801 GB, free: 54.79 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.1049, allocations: 171.4 kB / 0.6802 GB, free: 54.62 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.105, allocations: 8 kB / 0.6803 GB, free: 54.62 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.953e-05/0.105, allocations: 12 kB / 0.6803 GB, free: 54.61 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.187e-05/0.1051, allocations: 63.8 kB / 0.6803 GB, free: 54.54 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.107e-05/0.1052, allocations: 73.58 kB / 0.6804 GB, free: 54.46 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.1055, allocations: 191.4 kB / 0.6806 GB, free: 54.28 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1055, allocations: 0 / 0.6806 GB, free: 54.28 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1055, allocations: 0 / 0.6806 GB, free: 54.28 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.1055, allocations: 0 / 0.6806 GB, free: 54.28 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009153/0.1065, allocations: 0.5191 MB / 0.6811 GB, free: 53.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1065, allocations: 8.031 kB / 0.6811 GB, free: 53.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.966e-05/0.1066, allocations: 27.72 kB / 0.6811 GB, free: 53.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/0.1071, allocations: 298.6 kB / 0.6814 GB, free: 53.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.1071, allocations: 16.44 kB / 0.6814 GB, free: 53.33 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-05/0.1072, allocations: 24 kB / 0.6814 GB, free: 53.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004881/0.1077, allocations: 270 kB / 0.6817 GB, free: 53.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1077, allocations: 0 / 0.6817 GB, free: 53.01 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.1078, allocations: 8 kB / 0.6817 GB, free: 53 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.1078, allocations: 11.94 kB / 0.6817 GB, free: 52.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.1082, allocations: 159.6 kB / 0.6819 GB, free: 52.83 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.1096, allocations: 1.179 MB / 0.683 GB, free: 51.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.1098, allocations: 73.11 kB / 0.6831 GB, free: 51.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.31e-05/0.1099, allocations: 25.78 kB / 0.6831 GB, free: 51.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.1099, allocations: 4.047 kB / 0.6831 GB, free: 51.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.1099, allocations: 46.44 kB / 0.6832 GB, free: 51.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 2.535e-06/0.1099, allocations: 4 kB / 0.6832 GB, free: 51.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008081/0.1108, allocations: 412.7 kB / 0.6836 GB, free: 50.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.1108, allocations: 81.09 kB / 0.6836 GB, free: 50.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.1111, allocations: 246.5 kB / 0.6839 GB, free: 50.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1111, allocations: 29.7 kB / 0.6839 GB, free: 50.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.1112, allocations: 191.8 kB / 0.6841 GB, free: 50.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1113, allocations: 27.64 kB / 0.6841 GB, free: 50.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/0.1113, allocations: 4 kB / 0.6841 GB, free: 50.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.1114, allocations: 326.8 kB / 0.6844 GB, free: 49.99 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.932e-05/0.1114, allocations: 28.36 kB / 0.6845 GB, free: 49.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.1116, allocations: 125.5 kB / 0.6846 GB, free: 49.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.1117, allocations: 47.94 kB / 0.6846 GB, free: 49.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1117, allocations: 0 / 0.6846 GB, free: 49.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003185/0.112, allocations: 181.3 kB / 0.6848 GB, free: 49.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.112, allocations: 8 kB / 0.6848 GB, free: 49.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.1121, allocations: 7.953 kB / 0.6848 GB, free: 49.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.1121, allocations: 4 kB / 0.6848 GB, free: 49.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.1124, allocations: 43.92 kB / 0.6849 GB, free: 49.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.1124, allocations: 7.984 kB / 0.6849 GB, free: 49.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.1125, allocations: 4 kB / 0.6849 GB, free: 49.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.1126, allocations: 12 kB / 0.6849 GB, free: 49.48 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 (22): * Single equations (assignments): 22 * 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.0001416/0.1127, allocations: 157.9 kB / 0.685 GB, free: 49.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.1128, allocations: 15.81 kB / 0.685 GB, free: 49.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.113, allocations: 91.38 kB / 0.6851 GB, free: 49.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.113, allocations: 11.94 kB / 0.6851 GB, free: 49.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.113, allocations: 448 / 0.6851 GB, free: 49.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.1131, allocations: 100.7 kB / 0.6852 GB, free: 49.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.1131, allocations: 0 / 0.6852 GB, free: 49.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.1133, allocations: 15.94 kB / 0.6853 GB, free: 49.06 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.1133, allocations: 3.984 kB / 0.6853 GB, free: 49.06 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003014/0.1136, allocations: 248.2 kB / 0.6855 GB, free: 48.81 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002836/0.1139, allocations: 369.7 kB / 0.6858 GB, free: 48.43 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.841e-05/0.114, allocations: 28.11 kB / 0.6859 GB, free: 48.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001728/0.1142, allocations: 166 kB / 0.686 GB, free: 48.24 MB / 442.7 MB Notification: Performance of Backend: time 9.22e-07/0.1142, allocations: 0 / 0.686 GB, free: 48.24 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005776/0.1148, allocations: 142.2 kB / 0.6862 GB, free: 48.09 MB / 442.7 MB Notification: Performance of SimCode: time 0.00138/0.1162, allocations: 1.092 MB / 0.6872 GB, free: 46.95 MB / 442.7 MB Notification: Performance of Templates: time 0.006486/0.1227, allocations: 1.714 MB / 0.6889 GB, free: 45.25 MB / 442.7 MB