Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003661/0.003666, 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.788/3.788, allocations: 388.9 MB / 406.8 MB, free: 11.9 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.00377/0.00377, allocations: 233.6 kB / 452.2 MB, free: 14.49 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.7757/0.7757, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004628, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09151/0.09199, allocations: 53.23 MB / 0.6742 GB, free: 60.81 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.005377/0.09743, allocations: 4.371 MB / 0.6785 GB, free: 56.41 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.09978, allocations: 1.112 MB / 0.6796 GB, free: 55.3 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002863/0.1001, allocations: 27.81 kB / 0.6796 GB, free: 55.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.1003, allocations: 51.59 kB / 0.6797 GB, free: 55.22 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007714/0.1011, allocations: 266.5 kB / 0.6799 GB, free: 54.96 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.1015, allocations: 111.8 kB / 0.68 GB, free: 54.85 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006558/0.1021, allocations: 0.623 MB / 0.6806 GB, free: 54.22 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.1024, allocations: 109.7 kB / 0.6807 GB, free: 54.11 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003019/0.1027, allocations: 179.1 kB / 0.6809 GB, free: 53.94 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005239/0.1032, allocations: 255.2 kB / 0.6811 GB, free: 53.69 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.1033, allocations: 12 kB / 0.6812 GB, free: 53.68 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.66e-05/0.1034, allocations: 16 kB / 0.6812 GB, free: 53.66 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.1035, allocations: 147.6 kB / 0.6813 GB, free: 53.52 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.962e-05/0.1036, allocations: 85.52 kB / 0.6814 GB, free: 53.43 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.104, allocations: 263.3 kB / 0.6816 GB, free: 53.17 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.104, allocations: 4 kB / 0.6816 GB, free: 53.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.104, allocations: 0 / 0.6816 GB, free: 53.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.104, allocations: 4 kB / 0.6817 GB, free: 53.16 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001224/0.1052, allocations: 0.6086 MB / 0.6822 GB, free: 52.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1053, allocations: 12.03 kB / 0.6823 GB, free: 52.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.748e-05/0.1054, allocations: 35.53 kB / 0.6823 GB, free: 52.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005994/0.106, allocations: 346.8 kB / 0.6826 GB, free: 52.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.106, allocations: 16.56 kB / 0.6826 GB, free: 52.06 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.1061, allocations: 31.95 kB / 0.6827 GB, free: 52.03 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.1068, allocations: 352.7 kB / 0.683 GB, free: 51.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.1068, allocations: 7.938 kB / 0.683 GB, free: 51.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.1068, allocations: 8 kB / 0.683 GB, free: 51.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/0.107, allocations: 28.53 kB / 0.683 GB, free: 51.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005802/0.1076, allocations: 238 kB / 0.6833 GB, free: 51.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.1096, allocations: 1.382 MB / 0.6846 GB, free: 49.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.1101, allocations: 177 kB / 0.6848 GB, free: 49.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.1104, allocations: 97.98 kB / 0.6849 GB, free: 49.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.1104, allocations: 4 kB / 0.6849 GB, free: 49.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1105, allocations: 42.55 kB / 0.6849 GB, free: 49.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 3.567e-06/0.1105, allocations: 3.984 kB / 0.6849 GB, free: 49.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.001705/0.1122, allocations: 0.748 MB / 0.6857 GB, free: 48.74 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.1122, allocations: 81.11 kB / 0.6857 GB, free: 48.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.1126, allocations: 296.7 kB / 0.686 GB, free: 48.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1126, allocations: 25.7 kB / 0.686 GB, free: 48.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.1128, allocations: 219.5 kB / 0.6863 GB, free: 48.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.1128, allocations: 59.19 kB / 0.6863 GB, free: 48.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/0.1128, allocations: 3.938 kB / 0.6863 GB, free: 48.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.1129, allocations: 346.8 kB / 0.6866 GB, free: 47.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.1131, allocations: 63.97 kB / 0.6867 GB, free: 47.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.1133, allocations: 169.5 kB / 0.6869 GB, free: 47.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.1135, allocations: 91.97 kB / 0.687 GB, free: 47.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1136, allocations: 0 / 0.687 GB, free: 47.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006747/0.1142, allocations: 320.7 kB / 0.6873 GB, free: 46.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1143, allocations: 4 kB / 0.6873 GB, free: 46.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1143, allocations: 4 kB / 0.6873 GB, free: 46.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002773/0.1146, allocations: 52.81 kB / 0.6873 GB, free: 46.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.1149, allocations: 47.92 kB / 0.6874 GB, free: 46.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.1163, allocations: 1.484 MB / 0.6888 GB, free: 45.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.1166, allocations: 16.02 kB / 0.6888 GB, free: 45.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.1166, allocations: 16.16 kB / 0.6888 GB, free: 45.23 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.1168, allocations: 169.7 kB / 0.689 GB, free: 45.06 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.1169, allocations: 27.62 kB / 0.689 GB, free: 45.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005499/0.1175, allocations: 236.3 kB / 0.6893 GB, free: 44.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1175, allocations: 7.891 kB / 0.6893 GB, free: 44.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1175, allocations: 0 / 0.6893 GB, free: 44.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.1176, allocations: 104.7 kB / 0.6894 GB, free: 44.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/0.1176, allocations: 12 kB / 0.6894 GB, free: 44.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.1178, allocations: 7.984 kB / 0.6894 GB, free: 44.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.1179, allocations: 11.98 kB / 0.6894 GB, free: 44.63 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006866/0.1186, allocations: 376.9 kB / 0.6898 GB, free: 44.25 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005874/0.1192, allocations: 0.517 MB / 0.6903 GB, free: 43.72 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001523/0.1194, allocations: 73.94 kB / 0.6903 GB, free: 43.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002327/0.1196, allocations: 211.1 kB / 0.6905 GB, free: 43.44 MB / 442.7 MB Notification: Performance of Backend: time 1.753e-06/0.1196, allocations: 0 / 0.6905 GB, free: 43.44 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009159/0.1205, allocations: 312.9 kB / 0.6908 GB, free: 43.11 MB / 442.7 MB Notification: Performance of SimCode: time 0.00172/0.1223, allocations: 1.332 MB / 0.6921 GB, free: 41.74 MB / 442.7 MB Notification: Performance of Templates: time 0.008647/0.1309, allocations: 2.774 MB / 0.6948 GB, free: 38.98 MB / 442.7 MB