Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001541/0.001541, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002507/0.002507, allocations: 296.8 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.035/1.035, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002773/0.002773, allocations: 91.84 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4182, allocations: 86.98 MB / 0.7671 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01291/0.4312, allocations: 10.02 MB / 0.7769 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005214/0.4364, allocations: 3.049 MB / 0.7798 GB, free: 6.766 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003956/0.4368, allocations: 39.81 kB / 0.7799 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.4386, allocations: 0.6985 MB / 0.7805 GB, free: 6.027 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.4398, allocations: 0.7196 MB / 0.7813 GB, free: 5.305 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.4411, allocations: 0.6433 MB / 0.7819 GB, free: 4.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00277/0.4439, allocations: 2.734 MB / 0.7846 GB, free: 1.918 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002257/0.4461, allocations: 1.902 MB / 0.7864 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.4475, allocations: 1.141 MB / 0.7875 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.4492, allocations: 1.383 MB / 0.7889 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002863/0.4495, allocations: 216 kB / 0.7891 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000828/0.4503, allocations: 491.4 kB / 0.7895 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009629/0.4513, allocations: 1.002 MB / 0.7905 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.4523, allocations: 1.015 MB / 0.7915 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003524/0.4558, allocations: 3.425 MB / 0.7949 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4558, allocations: 0 / 0.7949 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4558, allocations: 0 / 0.7949 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.217e-05/0.4559, allocations: 0 / 0.7949 GB, free: 7.297 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003641/0.4595, allocations: 1.988 MB / 0.7968 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.4595, allocations: 8.031 kB / 0.7968 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006017/0.4656, allocations: 0.897 MB / 0.7977 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002356/0.4679, allocations: 1.165 MB / 0.7988 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.468, allocations: 119.3 kB / 0.7989 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002883/0.4683, allocations: 144.3 kB / 0.7991 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004702/0.473, allocations: 3.02 MB / 0.802 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.473, allocations: 0 / 0.802 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/0.4732, allocations: 63.97 kB / 0.8021 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002367/0.4735, allocations: 179 kB / 0.8023 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004234/0.4777, allocations: 2.608 MB / 0.8048 GB, free: 12.91 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01733/0.495, allocations: 13.51 MB / 0.818 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.4971, allocations: 1.22 MB / 0.8192 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.4985, allocations: 0.9837 MB / 0.8201 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.9e-05/0.4986, allocations: 8.656 kB / 0.8202 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.4986, allocations: 47.16 kB / 0.8202 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.415e-06/0.4986, allocations: 0 / 0.8202 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=139): time 0.07845/0.5771, allocations: 19.33 MB / 0.8391 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.5771, allocations: 68.72 kB / 0.8391 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.5785, allocations: 0.9222 MB / 0.84 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000201/0.5787, allocations: 49.7 kB / 0.8401 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006042/0.5793, allocations: 0.7462 MB / 0.8408 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005146/0.5798, allocations: 0.5035 MB / 0.8413 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006031/0.5804, allocations: 291.5 kB / 0.8416 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.5806, allocations: 353.9 kB / 0.8419 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/0.5827, allocations: 1.339 MB / 0.8432 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00233/0.585, allocations: 1.655 MB / 0.8449 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004496/0.5895, allocations: 3.082 MB / 0.8479 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.128e-06/0.5895, allocations: 8 kB / 0.8479 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01259/0.6021, allocations: 5.563 MB / 0.8533 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.6021, allocations: 8 kB / 0.8533 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.533e-05/0.6022, allocations: 15.88 kB / 0.8533 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00927/0.6114, allocations: 2.717 MB / 0.856 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009488/0.6124, allocations: 191.7 kB / 0.8562 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04083/0.6532, allocations: 25.73 MB / 0.8813 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.6547, allocations: 95.95 kB / 0.8814 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.6549, allocations: 55.98 kB / 0.8814 GB, free: 12.29 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001241/0.6561, allocations: 0.7354 MB / 0.8822 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.6564, allocations: 123.2 kB / 0.8823 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/0.6686, allocations: 5.306 MB / 0.8875 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.6686, allocations: 19.98 kB / 0.8875 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.082e-05/0.6686, allocations: 20 kB / 0.8875 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/0.6687, allocations: 7.969 kB / 0.8875 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/0.6861, allocations: 8.615 MB / 0.8959 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.6861, allocations: 4.375 kB / 0.8959 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.6867, allocations: 115.8 kB / 0.896 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009048/0.6957, allocations: 2.578 MB / 0.8985 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002311/0.696, allocations: 36 kB / 0.8986 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03787/0.7338, allocations: 24.19 MB / 0.9222 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.7338, allocations: 4 kB / 0.9222 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/0.7453, allocations: 5.167 MB / 0.9273 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.7464, allocations: 0.4923 MB / 0.9277 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/0.7466, allocations: 31.94 kB / 0.9278 GB, free: 12 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009474/0.7475, allocations: 75.91 kB / 0.9278 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005143/0.7481, allocations: 121 kB / 0.928 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.7482, allocations: 36 kB / 0.928 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008701/0.749, allocations: 0.6474 MB / 0.9286 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.749, allocations: 0 / 0.9286 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002217/0.7513, allocations: 0.7227 MB / 0.9293 GB, free: 10.4 MB / 0.7012 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002535/0.7515, allocations: 146.1 kB / 0.9295 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007385/0.7589, allocations: 4.063 MB / 0.9334 GB, free: 6.137 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.7589, allocations: 0 / 0.9334 GB, free: 6.137 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005555/0.7645, allocations: 2.627 MB / 0.936 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.7658, allocations: 223.9 kB / 0.9362 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006889/0.7726, allocations: 4.025 MB / 0.9401 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/0.7744, allocations: 1.696 MB / 0.9418 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008006/0.7752, allocations: 325.5 kB / 0.9421 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.7754, allocations: 63.42 kB / 0.9422 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of SimCode: time 9.52e-07/0.7754, allocations: 0 / 0.9422 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of Templates: time 0.3893/1.165, allocations: 40.66 MB / 0.9819 GB, free: 187.3 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)