Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Introductory.InitialSteadyState.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.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004344/0.004344, 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.953/3.953, allocations: 388.9 MB / 406.8 MB, free: 11.93 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.003495/0.003495, allocations: 241.6 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.7689/0.7689, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006125/0.0006127, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/0.09382, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005568/0.09945, allocations: 4.46 MB / 0.6786 GB, free: 56.34 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003329/0.1028, allocations: 1.54 MB / 0.6801 GB, free: 54.79 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004375/0.1033, allocations: 31.75 kB / 0.6801 GB, free: 54.76 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.1036, allocations: 71.52 kB / 0.6802 GB, free: 54.69 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008476/0.1045, allocations: 266.5 kB / 0.6804 GB, free: 54.43 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009099/0.1054, allocations: 235.4 kB / 0.6807 GB, free: 54.2 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008205/0.1062, allocations: 0.682 MB / 0.6813 GB, free: 53.51 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.1073, allocations: 0.5113 MB / 0.6818 GB, free: 52.96 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000396/0.1077, allocations: 207.1 kB / 0.682 GB, free: 52.76 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006268/0.1084, allocations: 359 kB / 0.6824 GB, free: 52.41 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.799e-05/0.1084, allocations: 20 kB / 0.6824 GB, free: 52.39 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005298/0.109, allocations: 171.7 kB / 0.6825 GB, free: 52.22 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.1092, allocations: 223.5 kB / 0.6828 GB, free: 52 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.1094, allocations: 109.5 kB / 0.6829 GB, free: 51.89 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006027/0.11, allocations: 494.8 kB / 0.6833 GB, free: 51.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.11, allocations: 0 / 0.6833 GB, free: 51.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.11, allocations: 0 / 0.6833 GB, free: 51.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.11, allocations: 0 / 0.6833 GB, free: 51.41 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001624/0.1117, allocations: 0.7034 MB / 0.684 GB, free: 50.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.1117, allocations: 8.031 kB / 0.684 GB, free: 50.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009296/0.1127, allocations: 95.36 kB / 0.6841 GB, free: 50.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009086/0.1136, allocations: 394.1 kB / 0.6845 GB, free: 50.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.1137, allocations: 40.92 kB / 0.6845 GB, free: 50.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.1139, allocations: 48 kB / 0.6846 GB, free: 50.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.1152, allocations: 0.6687 MB / 0.6852 GB, free: 49.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.1153, allocations: 3.906 kB / 0.6852 GB, free: 49.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.569e-05/0.1154, allocations: 27.92 kB / 0.6853 GB, free: 49.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002852/0.1157, allocations: 48.97 kB / 0.6853 GB, free: 49.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.1171, allocations: 0.6596 MB / 0.686 GB, free: 48.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004798/0.1219, allocations: 2.433 MB / 0.6883 GB, free: 46.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007683/0.1228, allocations: 349.7 kB / 0.6887 GB, free: 45.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00048/0.1233, allocations: 250 kB / 0.6889 GB, free: 45.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.608e-05/0.1233, allocations: 20.12 kB / 0.6889 GB, free: 45.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1234, allocations: 38.84 kB / 0.689 GB, free: 45.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 4.489e-06/0.1234, allocations: 4 kB / 0.689 GB, free: 45.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.003089/0.1265, allocations: 1.455 MB / 0.6904 GB, free: 43.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.1266, allocations: 81.11 kB / 0.6905 GB, free: 43.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.1269, allocations: 286.9 kB / 0.6907 GB, free: 43.47 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.127, allocations: 29.7 kB / 0.6908 GB, free: 43.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.1271, allocations: 243.9 kB / 0.691 GB, free: 43.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.1273, allocations: 161.7 kB / 0.6911 GB, free: 43.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.1273, allocations: 12 kB / 0.6912 GB, free: 43.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.638e-05/0.1274, allocations: 346.8 kB / 0.6915 GB, free: 42.67 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004509/0.1279, allocations: 213 kB / 0.6917 GB, free: 42.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005142/0.1284, allocations: 357.5 kB / 0.692 GB, free: 42.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005794/0.129, allocations: 276.2 kB / 0.6923 GB, free: 41.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.129, allocations: 4 kB / 0.6923 GB, free: 41.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001814/0.1309, allocations: 0.712 MB / 0.693 GB, free: 41.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.1309, allocations: 8.562 kB / 0.693 GB, free: 41.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001275/0.1322, allocations: 0.5108 MB / 0.6935 GB, free: 40.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004878/0.1327, allocations: 76.72 kB / 0.6936 GB, free: 40.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007727/0.1335, allocations: 107.9 kB / 0.6937 GB, free: 40.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.1355, allocations: 1.592 MB / 0.6952 GB, free: 38.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005266/0.136, allocations: 40.03 kB / 0.6953 GB, free: 38.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.1361, allocations: 20 kB / 0.6953 GB, free: 38.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * 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.0003307/0.1365, allocations: 217.7 kB / 0.6955 GB, free: 38.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.1366, allocations: 31.62 kB / 0.6955 GB, free: 38.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.1379, allocations: 0.5627 MB / 0.6961 GB, free: 37.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.1379, allocations: 0 / 0.6961 GB, free: 37.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1379, allocations: 0 / 0.6961 GB, free: 37.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.138, allocations: 108.6 kB / 0.6962 GB, free: 37.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/0.1381, allocations: 11.98 kB / 0.6962 GB, free: 37.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.1385, allocations: 31.95 kB / 0.6962 GB, free: 37.58 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.582e-05/0.1386, allocations: 27.92 kB / 0.6963 GB, free: 37.55 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001699/0.1403, allocations: 0.7267 MB / 0.697 GB, free: 36.81 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001783/0.1421, allocations: 1.075 MB / 0.698 GB, free: 35.72 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004598/0.1426, allocations: 256.3 kB / 0.6983 GB, free: 35.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002502/0.1429, allocations: 194 kB / 0.6984 GB, free: 35.28 MB / 442.7 MB Notification: Performance of Backend: time 6.81e-07/0.1429, allocations: 0 / 0.6984 GB, free: 35.28 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.1447, allocations: 0.5722 MB / 0.699 GB, free: 34.68 MB / 442.7 MB Notification: Performance of SimCode: time 0.002301/0.147, allocations: 1.642 MB / 0.7006 GB, free: 33 MB / 442.7 MB Notification: Performance of Templates: time 0.01462/0.1616, allocations: 5.418 MB / 0.7059 GB, free: 27.59 MB / 442.7 MB