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.002416/0.002416, allocations: 361.3 kB / 16.57 MB, free: 5.566 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.459/3.459, allocations: 388.9 MB / 406.2 MB, free: 11.91 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.003453/0.003452, allocations: 231.8 kB / 451.6 MB, free: 14.5 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.6201/0.6201, allocations: 76.01 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004554/0.0004556, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06773/0.06821, allocations: 53.23 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004149/0.0724, allocations: 4.596 MB / 0.6781 GB, free: 56.2 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.0745, allocations: 1.587 MB / 0.6796 GB, free: 54.6 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.07476, allocations: 27.81 kB / 0.6797 GB, free: 54.57 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.07495, allocations: 71.45 kB / 0.6797 GB, free: 54.5 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005691/0.07554, allocations: 278.5 kB / 0.68 GB, free: 54.23 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.07612, allocations: 239.4 kB / 0.6802 GB, free: 54 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005011/0.07664, allocations: 0.6664 MB / 0.6809 GB, free: 53.33 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000761/0.07742, allocations: 0.5319 MB / 0.6814 GB, free: 52.75 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.07767, allocations: 207 kB / 0.6816 GB, free: 52.55 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003857/0.07807, allocations: 307.1 kB / 0.6819 GB, free: 52.25 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.581e-05/0.07813, allocations: 16 kB / 0.6819 GB, free: 52.23 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.07835, allocations: 91.86 kB / 0.682 GB, free: 52.14 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.07854, allocations: 215.4 kB / 0.6822 GB, free: 51.93 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.811e-05/0.07865, allocations: 117.4 kB / 0.6823 GB, free: 51.81 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.07903, allocations: 450.8 kB / 0.6827 GB, free: 51.37 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.925e-06/0.07905, allocations: 0 / 0.6827 GB, free: 51.37 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.406e-06/0.07906, allocations: 3.984 kB / 0.6827 GB, free: 51.37 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.919e-06/0.07908, allocations: 0 / 0.6827 GB, free: 51.37 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.0009708/0.08006, allocations: 0.6918 MB / 0.6834 GB, free: 50.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.08009, allocations: 8.828 kB / 0.6834 GB, free: 50.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006038/0.08071, allocations: 95.28 kB / 0.6835 GB, free: 50.53 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/0.08125, allocations: 383 kB / 0.6839 GB, free: 50.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.08129, allocations: 44.94 kB / 0.6839 GB, free: 50.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.08144, allocations: 59.83 kB / 0.684 GB, free: 50.01 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008086/0.08226, allocations: 0.6333 MB / 0.6846 GB, free: 49.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.0823, allocations: 4 kB / 0.6846 GB, free: 49.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.08236, allocations: 19.98 kB / 0.6846 GB, free: 49.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.08247, allocations: 36.92 kB / 0.6847 GB, free: 49.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007378/0.08322, allocations: 475.5 kB / 0.6851 GB, free: 48.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002955/0.08619, allocations: 3.022 MB / 0.6881 GB, free: 45.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.08649, allocations: 173.1 kB / 0.6882 GB, free: 45.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.08666, allocations: 110 kB / 0.6883 GB, free: 45.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.0867, allocations: 11.98 kB / 0.6883 GB, free: 45.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.08673, allocations: 34.5 kB / 0.6884 GB, free: 45.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 2.12e-06/0.08674, allocations: 4 kB / 0.6884 GB, free: 45.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=21): time 0.00124/0.08799, allocations: 0.8285 MB / 0.6892 GB, free: 44.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.08803, allocations: 81.23 kB / 0.6893 GB, free: 44.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.08835, allocations: 349.5 kB / 0.6896 GB, free: 43.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.08838, allocations: 29.7 kB / 0.6896 GB, free: 43.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.08852, allocations: 298.9 kB / 0.6899 GB, free: 43.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.558e-05/0.08859, allocations: 82.88 kB / 0.69 GB, free: 43.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.08862, allocations: 11.98 kB / 0.69 GB, free: 43.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.637e-05/0.0887, allocations: 346.8 kB / 0.6903 GB, free: 43.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.08895, allocations: 124.8 kB / 0.6905 GB, free: 43.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.08929, allocations: 323.1 kB / 0.6908 GB, free: 42.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.08958, allocations: 188 kB / 0.6909 GB, free: 42.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.0896, allocations: 0 / 0.6909 GB, free: 42.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001143/0.09075, allocations: 0.565 MB / 0.6915 GB, free: 41.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.09078, allocations: 8 kB / 0.6915 GB, free: 41.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005805/0.09137, allocations: 272.6 kB / 0.6918 GB, free: 41.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003681/0.09176, allocations: 80.78 kB / 0.6918 GB, free: 41.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.09212, allocations: 99.77 kB / 0.6919 GB, free: 41.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.09357, allocations: 1.593 MB / 0.6935 GB, free: 39.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/0.09393, allocations: 23.98 kB / 0.6935 GB, free: 39.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.09398, allocations: 24.06 kB / 0.6935 GB, free: 39.61 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.0002375/0.09423, allocations: 225.5 kB / 0.6937 GB, free: 39.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.09432, allocations: 31.62 kB / 0.6938 GB, free: 39.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005447/0.09487, allocations: 284.6 kB / 0.694 GB, free: 39.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.417e-06/0.09489, allocations: 4 kB / 0.6941 GB, free: 39.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.316e-06/0.09491, allocations: 0 / 0.6941 GB, free: 39.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.09492, allocations: 7.984 kB / 0.6941 GB, free: 39.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.09612, allocations: 0.7939 MB / 0.6948 GB, free: 38.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.09614, allocations: 0 / 0.6948 GB, free: 38.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.09648, allocations: 55.97 kB / 0.6949 GB, free: 38.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.0965, allocations: 144 / 0.6949 GB, free: 38.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.09653, allocations: 12 kB / 0.6949 GB, free: 38.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.866e-06/0.09655, allocations: 12 kB / 0.6949 GB, free: 38.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.09656, allocations: 0 / 0.6949 GB, free: 38.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.09712, allocations: 478.4 kB / 0.6954 GB, free: 37.63 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.09719, allocations: 108.8 kB / 0.6955 GB, free: 37.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.09725, allocations: 8 kB / 0.6955 GB, free: 37.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.09746, allocations: 12 kB / 0.6955 GB, free: 37.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.09751, allocations: 19.91 kB / 0.6955 GB, free: 37.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.09754, allocations: 8 kB / 0.6955 GB, free: 37.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000233/0.09778, allocations: 231.1 kB / 0.6957 GB, free: 37.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.56e-07/0.09779, allocations: 0 / 0.6957 GB, free: 37.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005592/0.09836, allocations: 100 kB / 0.6958 GB, free: 37.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.433e-05/0.09847, allocations: 107.2 kB / 0.6959 GB, free: 37.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006769/0.09916, allocations: 451.7 kB / 0.6964 GB, free: 36.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.09918, allocations: 0 / 0.6964 GB, free: 36.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.09936, allocations: 104.4 kB / 0.6965 GB, free: 36.47 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.09987, allocations: 65.58 kB / 0.6965 GB, free: 36.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.1013, allocations: 1.218 MB / 0.6977 GB, free: 35.15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1017, allocations: 0.8782 MB / 0.6986 GB, free: 34.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00038/0.1021, allocations: 111.2 kB / 0.6987 GB, free: 34.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.627e-05/0.1022, allocations: 31.44 kB / 0.6987 GB, free: 34.11 MB / 442.7 MB Notification: Performance of SimCode: time 1.438e-06/0.1022, allocations: 0 / 0.6987 GB, free: 34.11 MB / 442.7 MB Notification: Performance of Templates: time 0.008078/0.1103, allocations: 3.239 MB / 0.7019 GB, free: 30.88 MB / 442.7 MB