Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002539/0.002544, allocations: 358.9 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.989/3.989, allocations: 388.9 MB / 406.8 MB, free: 12 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.003664/0.003663, allocations: 241.6 kB / 452.2 MB, free: 14.59 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.7494/0.7494, allocations: 76 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004458/0.0004459, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09425/0.09472, allocations: 53.24 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.005483/0.1003, allocations: 4.25 MB / 0.6784 GB, free: 56.55 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.1028, allocations: 1.104 MB / 0.6795 GB, free: 55.44 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003012/0.1031, allocations: 27.81 kB / 0.6795 GB, free: 55.41 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.1033, allocations: 51.59 kB / 0.6795 GB, free: 55.36 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007201/0.1041, allocations: 226.7 kB / 0.6798 GB, free: 55.14 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.1044, allocations: 111.8 kB / 0.6799 GB, free: 55.03 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005962/0.105, allocations: 0.5177 MB / 0.6804 GB, free: 54.51 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.1053, allocations: 110.2 kB / 0.6805 GB, free: 54.4 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.1056, allocations: 171.1 kB / 0.6806 GB, free: 54.23 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000457/0.1061, allocations: 231.1 kB / 0.6809 GB, free: 54 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/0.1062, allocations: 16 kB / 0.6809 GB, free: 53.99 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.549e-05/0.1062, allocations: 12 kB / 0.6809 GB, free: 53.98 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.1064, allocations: 115.6 kB / 0.681 GB, free: 53.86 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.1065, allocations: 81.52 kB / 0.6811 GB, free: 53.78 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.1068, allocations: 271.3 kB / 0.6813 GB, free: 53.51 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1069, allocations: 4 kB / 0.6813 GB, free: 53.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1069, allocations: 0 / 0.6813 GB, free: 53.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.1069, allocations: 0 / 0.6813 GB, free: 53.51 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001571/0.1085, allocations: 0.6476 MB / 0.682 GB, free: 52.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1085, allocations: 8.031 kB / 0.682 GB, free: 52.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.608e-05/0.1086, allocations: 43.53 kB / 0.682 GB, free: 52.76 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007548/0.1094, allocations: 366.7 kB / 0.6824 GB, free: 52.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.1094, allocations: 20.55 kB / 0.6824 GB, free: 52.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.794e-05/0.1095, allocations: 31.95 kB / 0.6824 GB, free: 52.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006791/0.1102, allocations: 356.7 kB / 0.6828 GB, free: 51.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.1102, allocations: 7.984 kB / 0.6828 GB, free: 51.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/0.1103, allocations: 8 kB / 0.6828 GB, free: 51.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.1103, allocations: 8 kB / 0.6828 GB, free: 51.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006297/0.1109, allocations: 254 kB / 0.683 GB, free: 51.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.1131, allocations: 1.446 MB / 0.6844 GB, free: 50.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.1135, allocations: 153.1 kB / 0.6846 GB, free: 49.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.1137, allocations: 81.67 kB / 0.6847 GB, free: 49.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.483e-05/0.1137, allocations: 11.92 kB / 0.6847 GB, free: 49.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1137, allocations: 38.56 kB / 0.6847 GB, free: 49.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 2.785e-06/0.1138, allocations: 0 / 0.6847 GB, free: 49.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.001483/0.1152, allocations: 0.6643 MB / 0.6854 GB, free: 49.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.1153, allocations: 85.05 kB / 0.6854 GB, free: 48.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.1157, allocations: 304.6 kB / 0.6857 GB, free: 48.67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1157, allocations: 29.7 kB / 0.6858 GB, free: 48.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.1158, allocations: 211.6 kB / 0.686 GB, free: 48.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.1159, allocations: 55.2 kB / 0.686 GB, free: 48.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.587e-05/0.1159, allocations: 4 kB / 0.686 GB, free: 48.37 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.116, allocations: 342.8 kB / 0.6863 GB, free: 48.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.1162, allocations: 59.95 kB / 0.6864 GB, free: 47.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.1164, allocations: 169.6 kB / 0.6866 GB, free: 47.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.1167, allocations: 99.83 kB / 0.6867 GB, free: 47.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1167, allocations: 0 / 0.6867 GB, free: 47.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005552/0.1172, allocations: 287.3 kB / 0.6869 GB, free: 47.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1173, allocations: 4 kB / 0.6869 GB, free: 47.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.1173, allocations: 7.984 kB / 0.6869 GB, free: 47.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.1173, allocations: 4 kB / 0.6869 GB, free: 47.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.1178, allocations: 55.91 kB / 0.687 GB, free: 47.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.1178, allocations: 12.38 kB / 0.687 GB, free: 47.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.1181, allocations: 15.98 kB / 0.687 GB, free: 47.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.1181, allocations: 19.94 kB / 0.687 GB, free: 47.25 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 (29): * Single equations (assignments): 29 * 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.0001851/0.1183, allocations: 173.6 kB / 0.6872 GB, free: 47.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.1184, allocations: 27.62 kB / 0.6872 GB, free: 47.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005602/0.119, allocations: 227.5 kB / 0.6875 GB, free: 46.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.119, allocations: 0 / 0.6875 GB, free: 46.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.119, allocations: 4 kB / 0.6875 GB, free: 46.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.448e-05/0.1191, allocations: 104.7 kB / 0.6876 GB, free: 46.69 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/0.1191, allocations: 8 kB / 0.6876 GB, free: 46.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.1194, allocations: 7.984 kB / 0.6876 GB, free: 46.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.1195, allocations: 15.98 kB / 0.6876 GB, free: 46.66 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006604/0.1201, allocations: 376 kB / 0.6879 GB, free: 46.29 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000733/0.1209, allocations: 0.5567 MB / 0.6885 GB, free: 45.71 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001779/0.1211, allocations: 92.09 kB / 0.6886 GB, free: 45.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002547/0.1213, allocations: 207.1 kB / 0.6888 GB, free: 45.42 MB / 442.7 MB Notification: Performance of Backend: time 6.11e-07/0.1213, allocations: 3.938 kB / 0.6888 GB, free: 45.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007549/0.1221, allocations: 202.2 kB / 0.689 GB, free: 45.21 MB / 442.7 MB Notification: Performance of SimCode: time 0.001684/0.1238, allocations: 1.23 MB / 0.6902 GB, free: 43.94 MB / 442.7 MB Notification: Performance of Templates: time 0.00889/0.1327, allocations: 2.836 MB / 0.6929 GB, free: 41.12 MB / 442.7 MB