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.001178/0.001178, allocations: 107.9 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.001212/0.001212, allocations: 183 kB / 17.34 MB, free: 5.766 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00216/0.00216, allocations: 284.8 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9674/0.9674, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 95.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4108, allocations: 86.97 MB / 0.7671 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01165/0.4225, allocations: 10 MB / 0.7768 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005196/0.4277, allocations: 3.037 MB / 0.7798 GB, free: 6.695 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007057/0.4284, allocations: 35.81 kB / 0.7798 GB, free: 6.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001933/0.4304, allocations: 0.6837 MB / 0.7805 GB, free: 5.977 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.4319, allocations: 0.6961 MB / 0.7812 GB, free: 5.277 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.4333, allocations: 0.6394 MB / 0.7818 GB, free: 4.637 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002824/0.4362, allocations: 2.734 MB / 0.7845 GB, free: 1.895 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002908/0.4391, allocations: 2.527 MB / 0.7869 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.4406, allocations: 1.137 MB / 0.7881 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/0.4426, allocations: 1.379 MB / 0.7894 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003635/0.443, allocations: 224 kB / 0.7896 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009297/0.444, allocations: 487.4 kB / 0.7901 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008462/0.4448, allocations: 0.9824 MB / 0.791 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009706/0.4458, allocations: 1.015 MB / 0.792 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002751/0.4485, allocations: 3.403 MB / 0.7954 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4486, allocations: 4 kB / 0.7954 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4486, allocations: 0 / 0.7954 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.661e-05/0.4486, allocations: 0 / 0.7954 GB, free: 6.688 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.003197/0.4518, allocations: 1.951 MB / 0.7973 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.4519, allocations: 8.031 kB / 0.7973 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005928/0.4578, allocations: 0.8844 MB / 0.7981 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.4599, allocations: 1.157 MB / 0.7993 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.448e-05/0.46, allocations: 111.3 kB / 0.7994 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002633/0.4603, allocations: 144.2 kB / 0.7995 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004368/0.4647, allocations: 3.023 MB / 0.8025 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.834e-05/0.4647, allocations: 4 kB / 0.8025 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002002/0.4649, allocations: 67.91 kB / 0.8025 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002185/0.4651, allocations: 175 kB / 0.8027 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003997/0.4691, allocations: 2.608 MB / 0.8052 GB, free: 12.36 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.01386/0.483, allocations: 13.49 MB / 0.8184 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.4848, allocations: 1.295 MB / 0.8197 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.4861, allocations: 1.048 MB / 0.8207 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.708e-05/0.4862, allocations: 8.656 kB / 0.8207 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.4862, allocations: 47.2 kB / 0.8208 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 3.798e-06/0.4863, allocations: 0 / 0.8208 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=139): time 0.07538/0.5616, allocations: 19.4 MB / 0.8397 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.5617, allocations: 72.66 kB / 0.8398 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.5629, allocations: 0.9223 MB / 0.8407 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001991/0.5631, allocations: 45.7 kB / 0.8407 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004332/0.5636, allocations: 0.7283 MB / 0.8414 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003997/0.564, allocations: 489 kB / 0.8419 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005342/0.5645, allocations: 291.5 kB / 0.8422 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.5646, allocations: 353.9 kB / 0.8425 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/0.5664, allocations: 1.335 MB / 0.8438 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/0.5684, allocations: 1.655 MB / 0.8454 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003865/0.5723, allocations: 3.089 MB / 0.8484 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.5723, allocations: 4 kB / 0.8485 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01145/0.5838, allocations: 5.64 MB / 0.854 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.5838, allocations: 8 kB / 0.854 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.5839, allocations: 16.59 kB / 0.854 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008793/0.5927, allocations: 2.713 MB / 0.8566 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008472/0.5935, allocations: 187.7 kB / 0.8568 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03444/0.628, allocations: 25.72 MB / 0.8819 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.6296, allocations: 91.95 kB / 0.882 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.6297, allocations: 56 kB / 0.8821 GB, free: 11.52 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.001122/0.6309, allocations: 0.7321 MB / 0.8828 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.6311, allocations: 118.6 kB / 0.8829 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/0.6427, allocations: 5.392 MB / 0.8882 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.652e-05/0.6427, allocations: 12 kB / 0.8882 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.365e-05/0.6428, allocations: 20 kB / 0.8882 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/0.6428, allocations: 7.969 kB / 0.8882 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01606/0.6589, allocations: 8.697 MB / 0.8967 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.6589, allocations: 4 kB / 0.8967 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004842/0.6594, allocations: 119.8 kB / 0.8968 GB, free: 12.26 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008626/0.668, allocations: 2.589 MB / 0.8993 GB, free: 9.656 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001958/0.6683, allocations: 24 kB / 0.8994 GB, free: 9.633 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03407/0.7024, allocations: 24.16 MB / 0.9229 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.7024, allocations: 4 kB / 0.923 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01085/0.7133, allocations: 5.249 MB / 0.9281 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008862/0.7142, allocations: 491.5 kB / 0.9285 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.7144, allocations: 24 kB / 0.9286 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009602/0.7154, allocations: 80.27 kB / 0.9286 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005315/0.7159, allocations: 125 kB / 0.9288 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.716, allocations: 40 kB / 0.9288 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008931/0.7169, allocations: 0.6434 MB / 0.9294 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.776e-06/0.7169, allocations: 0 / 0.9294 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002452/0.7194, allocations: 0.7303 MB / 0.9301 GB, free: 9.438 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.0002713/0.7197, allocations: 135.1 kB / 0.9303 GB, free: 9.297 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006859/0.7266, allocations: 4.215 MB / 0.9344 GB, free: 5.027 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.7266, allocations: 0 / 0.9344 GB, free: 5.027 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005309/0.7319, allocations: 2.721 MB / 0.937 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.7334, allocations: 214.1 kB / 0.9373 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007243/0.7407, allocations: 4.254 MB / 0.9414 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/0.7424, allocations: 1.731 MB / 0.9431 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.7427, allocations: 63.42 kB / 0.9432 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of SimCode: time 5.61e-07/0.7427, allocations: 0 / 0.9432 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.472/1.215, allocations: 60 MB / 1.002 GB, free: 172.7 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)