Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002506/0.002506, 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.755/3.755, allocations: 388.9 MB / 406.8 MB, free: 12.01 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.003678/0.003678, allocations: 231.9 kB / 452.2 MB, free: 14.61 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.7458/0.7458, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004588, allocations: 19.98 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09255/0.09303, allocations: 53.24 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005631/0.09872, allocations: 4.593 MB / 0.6787 GB, free: 56.21 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003323/0.1021, allocations: 1.587 MB / 0.6803 GB, free: 54.62 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003636/0.1025, allocations: 31.81 kB / 0.6803 GB, free: 54.59 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.1028, allocations: 75.44 kB / 0.6804 GB, free: 54.52 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008466/0.1036, allocations: 266.5 kB / 0.6806 GB, free: 54.25 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008393/0.1045, allocations: 239.4 kB / 0.6809 GB, free: 54.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007241/0.1052, allocations: 0.6703 MB / 0.6815 GB, free: 53.35 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.1063, allocations: 0.5358 MB / 0.682 GB, free: 52.77 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003417/0.1066, allocations: 199 kB / 0.6822 GB, free: 52.57 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005558/0.1072, allocations: 311.1 kB / 0.6825 GB, free: 52.27 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.486e-05/0.1073, allocations: 20 kB / 0.6825 GB, free: 52.25 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003087/0.1076, allocations: 95.84 kB / 0.6826 GB, free: 52.16 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.1078, allocations: 211.4 kB / 0.6828 GB, free: 51.95 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1079, allocations: 109.5 kB / 0.6829 GB, free: 51.84 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005242/0.1085, allocations: 458.8 kB / 0.6834 GB, free: 51.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1085, allocations: 0 / 0.6834 GB, free: 51.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1085, allocations: 0 / 0.6834 GB, free: 51.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.1085, allocations: 0 / 0.6834 GB, free: 51.39 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001486/0.11, allocations: 0.6801 MB / 0.684 GB, free: 50.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1101, allocations: 8.031 kB / 0.684 GB, free: 50.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008485/0.1109, allocations: 99.27 kB / 0.6841 GB, free: 50.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007165/0.1117, allocations: 391 kB / 0.6845 GB, free: 50.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.1117, allocations: 32.95 kB / 0.6845 GB, free: 50.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.1119, allocations: 63.83 kB / 0.6846 GB, free: 50.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.113, allocations: 0.6372 MB / 0.6852 GB, free: 49.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.1131, allocations: 4 kB / 0.6852 GB, free: 49.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-05/0.1132, allocations: 16 kB / 0.6852 GB, free: 49.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000165/0.1133, allocations: 28.98 kB / 0.6853 GB, free: 49.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.1144, allocations: 479.5 kB / 0.6857 GB, free: 48.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004289/0.1187, allocations: 3.026 MB / 0.6887 GB, free: 45.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.1191, allocations: 181.1 kB / 0.6889 GB, free: 45.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.1194, allocations: 110 kB / 0.689 GB, free: 45.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.1194, allocations: 4 kB / 0.689 GB, free: 45.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.1194, allocations: 42.5 kB / 0.689 GB, free: 45.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 3.446e-06/0.1195, allocations: 0 / 0.689 GB, free: 45.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=21): time 0.00177/0.1212, allocations: 0.8362 MB / 0.6898 GB, free: 44.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.1213, allocations: 81.11 kB / 0.6899 GB, free: 44.28 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.1217, allocations: 345.5 kB / 0.6902 GB, free: 43.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.1217, allocations: 25.7 kB / 0.6903 GB, free: 43.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.1219, allocations: 302.9 kB / 0.6905 GB, free: 43.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.122, allocations: 82.92 kB / 0.6906 GB, free: 43.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.122, allocations: 8.125 kB / 0.6906 GB, free: 43.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.783e-05/0.1221, allocations: 350.8 kB / 0.691 GB, free: 43.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.1224, allocations: 120.8 kB / 0.6911 GB, free: 43.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.1228, allocations: 323.1 kB / 0.6914 GB, free: 42.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.1232, allocations: 199.9 kB / 0.6916 GB, free: 42.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1232, allocations: 0 / 0.6916 GB, free: 42.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00134/0.1246, allocations: 0.5567 MB / 0.6921 GB, free: 41.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1246, allocations: 8 kB / 0.6921 GB, free: 41.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007451/0.1253, allocations: 273.2 kB / 0.6924 GB, free: 41.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005133/0.1259, allocations: 88.78 kB / 0.6925 GB, free: 41.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/0.1264, allocations: 91.83 kB / 0.6926 GB, free: 41.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.1282, allocations: 1.597 MB / 0.6941 GB, free: 39.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.1286, allocations: 20 kB / 0.6941 GB, free: 39.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.1286, allocations: 20 kB / 0.6942 GB, free: 39.64 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002839/0.1289, allocations: 221.5 kB / 0.6944 GB, free: 39.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/0.129, allocations: 31.62 kB / 0.6944 GB, free: 39.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006432/0.1297, allocations: 300.6 kB / 0.6947 GB, free: 39.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1297, allocations: 0 / 0.6947 GB, free: 39.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1297, allocations: 0 / 0.6947 GB, free: 39.08 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.1298, allocations: 108.7 kB / 0.6948 GB, free: 38.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.73e-05/0.1299, allocations: 4 kB / 0.6948 GB, free: 38.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.1301, allocations: 8.141 kB / 0.6948 GB, free: 38.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.1302, allocations: 27.84 kB / 0.6948 GB, free: 38.91 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009771/0.1312, allocations: 444.3 kB / 0.6953 GB, free: 38.47 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008261/0.132, allocations: 0.627 MB / 0.6959 GB, free: 37.83 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002131/0.1322, allocations: 108 kB / 0.696 GB, free: 37.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002671/0.1325, allocations: 231.2 kB / 0.6962 GB, free: 37.5 MB / 442.7 MB Notification: Performance of Backend: time 8.51e-07/0.1325, allocations: 0 / 0.6962 GB, free: 37.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.1339, allocations: 469.2 kB / 0.6966 GB, free: 37.02 MB / 442.7 MB Notification: Performance of SimCode: time 0.00209/0.136, allocations: 1.624 MB / 0.6982 GB, free: 35.36 MB / 442.7 MB Notification: Performance of Templates: time 0.01195/0.148, allocations: 4.194 MB / 0.7023 GB, free: 31.17 MB / 442.7 MB