Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001199/0.001199, allocations: 192.8 kB / 17.29 MB, free: 5.48 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002069, allocations: 297.9 kB / 291.4 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.9308/0.9308, allocations: 169.2 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 94.39 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.16, allocations: 86.98 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.2946/0.4547, allocations: 22.57 MB / 0.7037 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.4649, allocations: 6.215 MB / 0.7097 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.4668, allocations: 92.16 kB / 0.7098 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003423/0.4702, allocations: 1.546 MB / 0.7113 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003518/0.4737, allocations: 1.629 MB / 0.7129 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003203/0.4769, allocations: 1.349 MB / 0.7142 GB, free: 120 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007382/0.4843, allocations: 5.94 MB / 0.72 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008148/0.4925, allocations: 6.044 MB / 0.7259 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004013/0.4965, allocations: 2.417 MB / 0.7283 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003811/0.5003, allocations: 2.867 MB / 0.7311 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006097/0.501, allocations: 457 kB / 0.7315 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.5033, allocations: 1.093 MB / 0.7326 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002057/0.5053, allocations: 2.041 MB / 0.7346 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002736/0.5081, allocations: 2.164 MB / 0.7367 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007003/0.5151, allocations: 7.295 MB / 0.7438 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5151, allocations: 0 / 0.7438 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5151, allocations: 3.938 kB / 0.7438 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001293/0.5153, allocations: 0 / 0.7438 GB, free: 15.91 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.006903/0.5222, allocations: 3.824 MB / 0.7476 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.5222, allocations: 8.031 kB / 0.7476 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005806/0.528, allocations: 1.214 MB / 0.7488 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004814/0.5328, allocations: 2.336 MB / 0.751 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.533, allocations: 238.4 kB / 0.7513 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005108/0.5335, allocations: 315.8 kB / 0.7516 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00915/0.5427, allocations: 6.216 MB / 0.7576 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-05/0.5428, allocations: 11.88 kB / 0.7577 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003378/0.5431, allocations: 147.9 kB / 0.7578 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004403/0.5436, allocations: 402.3 kB / 0.7582 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006707/0.5503, allocations: 4.662 MB / 0.7627 GB, free: 12.16 MB / 0.5294 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.02716/0.5775, allocations: 28.95 MB / 0.791 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.5793, allocations: 1.417 MB / 0.7924 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/0.5811, allocations: 1.491 MB / 0.7938 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.5812, allocations: 13 kB / 0.7939 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.5813, allocations: 43.56 kB / 0.7939 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 3.586e-06/0.5813, allocations: 0 / 0.7939 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of matching and sorting (n=179): time 0.1271/0.7084, allocations: 37.23 MB / 0.8303 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.7084, allocations: 69.41 kB / 0.8303 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.7103, allocations: 1.427 MB / 0.8317 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000267/0.7106, allocations: 53.7 kB / 0.8318 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008745/0.7115, allocations: 1.535 MB / 0.8333 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005643/0.712, allocations: 0.6123 MB / 0.8339 GB, free: 464 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007103/0.7128, allocations: 387.2 kB / 0.8342 GB, free: 68 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.7129, allocations: 301.1 kB / 0.8345 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002354/0.7152, allocations: 1.784 MB / 0.8363 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002707/0.7179, allocations: 2.346 MB / 0.8386 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005332/0.7233, allocations: 4.391 MB / 0.8428 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.7233, allocations: 8 kB / 0.8428 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01654/0.7399, allocations: 8.563 MB / 0.8512 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.7399, allocations: 16.06 kB / 0.8512 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.74, allocations: 20 kB / 0.8512 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01377/0.7537, allocations: 4.635 MB / 0.8558 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.7549, allocations: 307.4 kB / 0.8561 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04378/0.7987, allocations: 32.6 MB / 0.8879 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.8007, allocations: 155.8 kB / 0.888 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/0.8009, allocations: 83.98 kB / 0.8881 GB, free: 7.465 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002027/0.8029, allocations: 1.325 MB / 0.8894 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003367/0.8033, allocations: 201.6 kB / 0.8896 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0164/0.8197, allocations: 8.445 MB / 0.8979 GB, free: 13.44 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.8197, allocations: 16 kB / 0.8979 GB, free: 13.42 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-05/0.8198, allocations: 27.94 kB / 0.8979 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/0.8198, allocations: 7.969 kB / 0.8979 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02329/0.8431, allocations: 12.85 MB / 0.9105 GB, free: 384 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.8431, allocations: 8 kB / 0.9105 GB, free: 376 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006602/0.8438, allocations: 167.7 kB / 0.9106 GB, free: 208 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01361/0.8574, allocations: 4.477 MB / 0.915 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002168/0.8576, allocations: 40 kB / 0.915 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.043/0.9007, allocations: 32.19 MB / 0.9465 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.9007, allocations: 16 kB / 0.9465 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0161/0.9168, allocations: 8.237 MB / 0.9545 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/0.9185, allocations: 0.6156 MB / 0.9551 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003886/0.9189, allocations: 43.92 kB / 0.9552 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.9203, allocations: 135.8 kB / 0.9553 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000832/0.9212, allocations: 172.9 kB / 0.9555 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/0.9213, allocations: 48 kB / 0.9555 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001237/0.9226, allocations: 0.9549 MB / 0.9564 GB, free: 268 kB / 0.7169 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9226, allocations: 0 / 0.9564 GB, free: 268 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.2696/1.192, allocations: 1.115 MB / 0.9575 GB, free: 229.9 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002824/1.192, allocations: 150.5 kB / 0.9577 GB, free: 229.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01191/1.204, allocations: 6.529 MB / 0.964 GB, free: 228.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/1.204, allocations: 0.875 kB / 0.9641 GB, free: 228.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008887/1.213, allocations: 4.363 MB / 0.9683 GB, free: 228 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/1.216, allocations: 0.5274 MB / 0.9688 GB, free: 227.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.226, allocations: 6.804 MB / 0.9755 GB, free: 224.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002911/1.229, allocations: 2.724 MB / 0.9781 GB, free: 223.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001139/1.23, allocations: 393.8 kB / 0.9785 GB, free: 223.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/1.231, allocations: 94.02 kB / 0.9786 GB, free: 223.8 MB / 0.7169 GB Notification: Performance of SimCode: time 6.81e-07/1.231, allocations: 0 / 0.9786 GB, free: 223.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.07094/1.302, allocations: 60.51 MB / 1.038 GB, free: 184.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)