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.00414/0.00414, allocations: 95.58 kB / 15.73 MB, free: 6.039 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.001014/0.001014, allocations: 204.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 270.9 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9458/0.9458, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 100.9 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1844, allocations: 86.97 MB / 0.7664 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.3551/0.5395, allocations: 10.07 MB / 0.7762 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004828/0.5444, allocations: 3.177 MB / 0.7793 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004934/0.5449, allocations: 33.97 kB / 0.7794 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.5464, allocations: 0.5901 MB / 0.7799 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.5478, allocations: 0.7444 MB / 0.7807 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.5494, allocations: 0.7426 MB / 0.7814 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003015/0.5524, allocations: 2.994 MB / 0.7843 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002687/0.5551, allocations: 2.581 MB / 0.7868 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/0.5571, allocations: 1.259 MB / 0.7881 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.5594, allocations: 1.555 MB / 0.7896 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003714/0.5598, allocations: 235.8 kB / 0.7898 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.561, allocations: 0.4988 MB / 0.7903 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.5621, allocations: 1.074 MB / 0.7913 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.5631, allocations: 1.115 MB / 0.7924 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004735/0.5679, allocations: 3.697 MB / 0.796 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.5679, allocations: 0.6094 kB / 0.796 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.976e-06/0.5679, allocations: 0.8125 kB / 0.796 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001904/0.5681, allocations: 0 / 0.796 GB, free: 3.715 MB / 0.5606 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.006642/0.5748, allocations: 2.194 MB / 0.7982 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.5748, allocations: 10.11 kB / 0.7982 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009201/0.584, allocations: 1.318 MB / 0.7995 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.5863, allocations: 1.311 MB / 0.8008 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-05/0.5864, allocations: 116.5 kB / 0.8009 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003103/0.5867, allocations: 148.4 kB / 0.801 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005386/0.5921, allocations: 3.436 MB / 0.8044 GB, free: 84 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/0.5921, allocations: 3.078 kB / 0.8044 GB, free: 84 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/0.5924, allocations: 70.39 kB / 0.8044 GB, free: 28 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002619/0.5926, allocations: 205.2 kB / 0.8046 GB, free: 0 / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004724/0.5974, allocations: 3.132 MB / 0.8077 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01605/0.6134, allocations: 13.57 MB / 0.8209 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.6159, allocations: 1.724 MB / 0.8226 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001943/0.6179, allocations: 1.439 MB / 0.824 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.5e-05/0.618, allocations: 11.56 kB / 0.824 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.618, allocations: 46.88 kB / 0.8241 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 3.066e-06/0.618, allocations: 1.125 kB / 0.8241 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=183): time 0.1493/0.7673, allocations: 36.73 MB / 0.86 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.7674, allocations: 69.41 kB / 0.86 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.7689, allocations: 1.054 MB / 0.8611 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003174/0.7692, allocations: 53.7 kB / 0.8611 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005141/0.7697, allocations: 0.8132 MB / 0.8619 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005534/0.7703, allocations: 0.6507 MB / 0.8625 GB, free: 312 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007787/0.7711, allocations: 367.5 kB / 0.8629 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.7712, allocations: 301.1 kB / 0.8632 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002651/0.7738, allocations: 1.928 MB / 0.8651 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002833/0.7767, allocations: 2.281 MB / 0.8673 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005643/0.7823, allocations: 4.398 MB / 0.8716 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.7824, allocations: 4 kB / 0.8716 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01989/0.8023, allocations: 9.027 MB / 0.8804 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.8023, allocations: 15.94 kB / 0.8804 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.8023, allocations: 8 kB / 0.8804 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01702/0.8194, allocations: 4.971 MB / 0.8853 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009353/0.8203, allocations: 195.6 kB / 0.8855 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05469/0.875, allocations: 38.94 MB / 0.9235 GB, free: 1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/0.8772, allocations: 95.89 kB / 0.9236 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002133/0.8774, allocations: 68 kB / 0.9237 GB, free: 0.8398 MB / 0.67 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001441/0.8789, allocations: 0.8095 MB / 0.9244 GB, free: 20 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003021/0.8792, allocations: 147.3 kB / 0.9246 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01939/0.8986, allocations: 8.89 MB / 0.9333 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.8986, allocations: 19.98 kB / 0.9333 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.154e-05/0.8987, allocations: 28 kB / 0.9333 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.8987, allocations: 11.97 kB / 0.9333 GB, free: 6.891 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02525/0.9239, allocations: 13.41 MB / 0.9464 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.924, allocations: 4 kB / 0.9464 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004422/0.9244, allocations: 115.9 kB / 0.9465 GB, free: 9.211 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01615/0.9406, allocations: 4.843 MB / 0.9513 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002509/0.9409, allocations: 32 kB / 0.9513 GB, free: 4.324 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05165/0.9925, allocations: 36.85 MB / 0.9873 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.9926, allocations: 11.88 kB / 0.9873 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/1.011, allocations: 8.597 MB / 0.9957 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/1.013, allocations: 0.6483 MB / 0.9963 GB, free: 5.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002993/1.013, allocations: 39.98 kB / 0.9964 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.014, allocations: 83.89 kB / 0.9964 GB, free: 5.406 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001042/1.015, allocations: 169.6 kB / 0.9966 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/1.015, allocations: 55.94 kB / 0.9967 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001298/1.017, allocations: 0.7343 MB / 0.9974 GB, free: 4.441 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.6e-07/1.017, allocations: 7.938 kB / 0.9974 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004048/1.021, allocations: 1 MB / 0.9984 GB, free: 3.434 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003621/1.021, allocations: 147.6 kB / 0.9985 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009174/1.03, allocations: 5.951 MB / 1.004 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.03, allocations: 4.188 kB / 1.004 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.007439/1.038, allocations: 3.948 MB / 1.008 GB, free: 9.27 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/1.039, allocations: 237.5 kB / 1.008 GB, free: 9.039 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007803/1.047, allocations: 5.135 MB / 1.013 GB, free: 3.863 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001912/1.049, allocations: 1.859 MB / 1.015 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008417/1.05, allocations: 351.4 kB / 1.016 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/1.05, allocations: 63.42 kB / 1.016 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of SimCode: time 7.41e-07/1.05, allocations: 0 / 1.016 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of Templates: time 0.08109/1.131, allocations: 61.22 MB / 1.075 GB, free: 4.473 MB / 0.8262 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)