Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 86.88 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00175/0.00175, allocations: 278.9 kB / 291.4 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9522/0.9522, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003943, allocations: 13.91 kB / 0.598 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1794, allocations: 88.56 MB / 0.6845 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01027/0.1897, allocations: 9.051 MB / 0.6933 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005102/0.1948, allocations: 3.019 MB / 0.6963 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005831/0.1954, allocations: 28.53 kB / 0.6963 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004279/0.1959, allocations: 174.6 kB / 0.6965 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.1971, allocations: 0.634 MB / 0.6971 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.1982, allocations: 0.512 MB / 0.6976 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003352/0.2015, allocations: 3.51 MB / 0.701 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003824/0.2054, allocations: 2.722 MB / 0.7037 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/0.2069, allocations: 0.9653 MB / 0.7046 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.2088, allocations: 1.43 MB / 0.706 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.209, allocations: 112 kB / 0.7061 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007367/0.2097, allocations: 263.7 kB / 0.7064 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008338/0.2106, allocations: 0.9237 MB / 0.7073 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003712/0.211, allocations: 380.8 kB / 0.7077 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.2135, allocations: 3.008 MB / 0.7106 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.2135, allocations: 0 / 0.7106 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.226e-06/0.2136, allocations: 3.984 kB / 0.7106 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.494e-05/0.2136, allocations: 0 / 0.7106 GB, free: 4.605 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00302/0.2166, allocations: 1.772 MB / 0.7123 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.2167, allocations: 8.031 kB / 0.7123 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007702/0.2244, allocations: 1.328 MB / 0.7136 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.2268, allocations: 1.219 MB / 0.7148 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.635e-05/0.2269, allocations: 111 kB / 0.7149 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003101/0.2272, allocations: 152 kB / 0.7151 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005352/0.2325, allocations: 3.437 MB / 0.7184 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/0.2326, allocations: 3.984 kB / 0.7184 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/0.2328, allocations: 63.97 kB / 0.7185 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002548/0.2331, allocations: 207.1 kB / 0.7187 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004898/0.238, allocations: 3.124 MB / 0.7217 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01689/0.2549, allocations: 13.58 MB / 0.735 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.2575, allocations: 1.73 MB / 0.7367 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/0.2595, allocations: 1.421 MB / 0.7381 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-05/0.2596, allocations: 13 kB / 0.7381 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.2596, allocations: 47.55 kB / 0.7381 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=104): time 4.679e-06/0.2596, allocations: 0 / 0.7381 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=183): time 0.1208/0.3805, allocations: 35.91 MB / 0.7732 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/0.3806, allocations: 73.34 kB / 0.7733 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.3823, allocations: 1.05 MB / 0.7743 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000389/0.3827, allocations: 53.7 kB / 0.7744 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006855/0.3834, allocations: 0.7873 MB / 0.7751 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008037/0.3842, allocations: 0.6199 MB / 0.7757 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.3843, allocations: 40 kB / 0.7758 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.3845, allocations: 389.8 kB / 0.7761 GB, free: 168 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.378/0.7625, allocations: 1.92 MB / 0.778 GB, free: 88.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003211/0.7658, allocations: 2.279 MB / 0.7802 GB, free: 87.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/0.7686, allocations: 2.214 MB / 0.7824 GB, free: 86.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.7687, allocations: 3.031 kB / 0.7824 GB, free: 86.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01804/0.7867, allocations: 8.985 MB / 0.7912 GB, free: 84.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.7868, allocations: 12.28 kB / 0.7912 GB, free: 84.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.7868, allocations: 11.97 kB / 0.7912 GB, free: 84.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0142/0.801, allocations: 4.972 MB / 0.7961 GB, free: 83.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00099/0.8021, allocations: 197.1 kB / 0.7962 GB, free: 83.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04586/0.8479, allocations: 35.06 MB / 0.8305 GB, free: 58.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/0.8501, allocations: 105.1 kB / 0.8306 GB, free: 58.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002339/0.8504, allocations: 68 kB / 0.8307 GB, free: 58.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001514/0.8519, allocations: 0.8079 MB / 0.8314 GB, free: 57.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/0.8522, allocations: 138.3 kB / 0.8316 GB, free: 57.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/0.8686, allocations: 8.867 MB / 0.8402 GB, free: 48.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.705e-05/0.8687, allocations: 20 kB / 0.8402 GB, free: 48.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001236/0.8689, allocations: 28 kB / 0.8403 GB, free: 48.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.817e-05/0.8689, allocations: 9.094 kB / 0.8403 GB, free: 48.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02286/0.8918, allocations: 13.25 MB / 0.8532 GB, free: 34.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.342e-05/0.8919, allocations: 4 kB / 0.8532 GB, free: 34.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004759/0.8923, allocations: 125.8 kB / 0.8533 GB, free: 34.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01293/0.9053, allocations: 4.755 MB / 0.858 GB, free: 30.06 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003326/0.9056, allocations: 36 kB / 0.858 GB, free: 30.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03903/0.9447, allocations: 31.4 MB / 0.8887 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/0.9447, allocations: 13.25 kB / 0.8887 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01805/0.9628, allocations: 8.373 MB / 0.8969 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/0.9645, allocations: 0.6163 MB / 0.8975 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003488/0.9648, allocations: 36.88 kB / 0.8975 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.966, allocations: 87.88 kB / 0.8976 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009244/0.9669, allocations: 165.6 kB / 0.8978 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/0.9671, allocations: 48 kB / 0.8978 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001119/0.9682, allocations: 0.7343 MB / 0.8985 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9682, allocations: 3.938 kB / 0.8985 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003343/0.9716, allocations: 1.004 MB / 0.8995 GB, free: 2.91 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003018/0.9719, allocations: 146 kB / 0.8996 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009474/0.9814, allocations: 5.823 MB / 0.9053 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.9814, allocations: 4 kB / 0.9053 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007108/0.9885, allocations: 3.8 MB / 0.909 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.99, allocations: 220.8 kB / 0.9093 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00797/0.998, allocations: 5.62 MB / 0.9147 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002052/1, allocations: 1.857 MB / 0.9166 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000932/1.001, allocations: 348.1 kB / 0.9169 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/1.001, allocations: 67.44 kB / 0.917 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of SimCode: time 7.41e-07/1.001, allocations: 0 / 0.917 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of Templates: time 0.08176/1.083, allocations: 54.44 MB / 0.9701 GB, free: 10.64 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)