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.0009232/0.0009232, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.007499/0.007499, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.322/1.322, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001654/0.001654, allocations: 267.1 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9216/0.9216, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003887, allocations: 13.84 kB / 0.5987 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1425, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02102/0.1635, allocations: 21.76 MB / 0.7064 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009401/0.173, allocations: 6.177 MB / 0.7124 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.1748, allocations: 79.5 kB / 0.7125 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.176, allocations: 440.7 kB / 0.7129 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003318/0.1793, allocations: 1.552 MB / 0.7144 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002325/0.1817, allocations: 1.081 MB / 0.7155 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007636/0.1893, allocations: 8.856 MB / 0.7241 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009576/0.1989, allocations: 7.192 MB / 0.7312 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002903/0.2018, allocations: 1.77 MB / 0.7329 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003256/0.2051, allocations: 2.608 MB / 0.7354 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003903/0.2055, allocations: 200 kB / 0.7356 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.2073, allocations: 1.018 MB / 0.7366 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001503/0.2088, allocations: 1.726 MB / 0.7383 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00168/0.2105, allocations: 1.817 MB / 0.7401 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005635/0.2162, allocations: 6.966 MB / 0.7469 GB, free: 15.58 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2162, allocations: 0 / 0.7469 GB, free: 15.58 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2162, allocations: 4 kB / 0.7469 GB, free: 15.58 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001312/0.2164, allocations: 0 / 0.7469 GB, free: 15.58 MB / 0.545 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.004985/0.2213, allocations: 3.083 MB / 0.7499 GB, free: 12.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2214, allocations: 8.031 kB / 0.7499 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005728/0.2271, allocations: 1.21 MB / 0.7511 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/0.2302, allocations: 2.215 MB / 0.7533 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.2304, allocations: 246.4 kB / 0.7535 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000486/0.2309, allocations: 315.9 kB / 0.7538 GB, free: 8.387 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008301/0.2392, allocations: 6.209 MB / 0.7599 GB, free: 1.926 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.025e-05/0.2393, allocations: 11.88 kB / 0.7599 GB, free: 1.914 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003339/0.2396, allocations: 140 kB / 0.76 GB, free: 1.777 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004458/0.2401, allocations: 406.3 kB / 0.7604 GB, free: 1.379 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006837/0.2469, allocations: 4.666 MB / 0.7649 GB, free: 12.7 MB / 0.5606 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.3237/0.5706, allocations: 29.07 MB / 0.7933 GB, free: 69.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.5724, allocations: 1.42 MB / 0.7947 GB, free: 69.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/0.5741, allocations: 1.489 MB / 0.7962 GB, free: 69.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.039e-05/0.5742, allocations: 10.09 kB / 0.7962 GB, free: 69.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.5742, allocations: 39.44 kB / 0.7962 GB, free: 69.03 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 3.396e-06/0.5743, allocations: 5.094 kB / 0.7962 GB, free: 69.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=179): time 0.1354/0.7097, allocations: 36.31 MB / 0.8317 GB, free: 51.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.7097, allocations: 73.41 kB / 0.8318 GB, free: 51.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.7112, allocations: 1.427 MB / 0.8332 GB, free: 50.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002422/0.7115, allocations: 53.7 kB / 0.8332 GB, free: 50.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006/0.7121, allocations: 1.541 MB / 0.8347 GB, free: 48.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004002/0.7125, allocations: 0.6089 MB / 0.8353 GB, free: 47.96 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.7127, allocations: 165.6 kB / 0.8355 GB, free: 47.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.376e-05/0.7128, allocations: 301.1 kB / 0.8358 GB, free: 47.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/0.7147, allocations: 1.784 MB / 0.8375 GB, free: 45.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.7168, allocations: 2.354 MB / 0.8398 GB, free: 43.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004313/0.7211, allocations: 4.383 MB / 0.8441 GB, free: 38.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.7211, allocations: 8 kB / 0.8441 GB, free: 38.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01527/0.7364, allocations: 8.562 MB / 0.8524 GB, free: 29.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.7365, allocations: 12.94 kB / 0.8525 GB, free: 29.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.7365, allocations: 23.94 kB / 0.8525 GB, free: 29.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01296/0.7495, allocations: 4.635 MB / 0.857 GB, free: 25.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.7506, allocations: 299.5 kB / 0.8573 GB, free: 24.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03705/0.7876, allocations: 29.49 MB / 0.8861 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/0.7899, allocations: 151.8 kB / 0.8862 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.7901, allocations: 83.98 kB / 0.8863 GB, free: 10.38 MB / 0.5762 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.002214/0.7923, allocations: 1.33 MB / 0.8876 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003564/0.7926, allocations: 201.6 kB / 0.8878 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01797/0.8106, allocations: 8.438 MB / 0.896 GB, free: 368 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.8107, allocations: 16 kB / 0.8961 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.616e-05/0.8107, allocations: 28 kB / 0.8961 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.423e-05/0.8107, allocations: 11.91 kB / 0.8961 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02367/0.8344, allocations: 12.85 MB / 0.9086 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.8345, allocations: 8 kB / 0.9086 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006702/0.8351, allocations: 168.5 kB / 0.9088 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01402/0.8492, allocations: 4.49 MB / 0.9132 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/0.8494, allocations: 43.88 kB / 0.9132 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04151/0.8909, allocations: 29.09 MB / 0.9416 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.8909, allocations: 11.94 kB / 0.9417 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/0.9076, allocations: 8.236 MB / 0.9497 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/0.909, allocations: 0.6195 MB / 0.9503 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002959/0.9093, allocations: 40 kB / 0.9503 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.9108, allocations: 135.8 kB / 0.9505 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000738/0.9115, allocations: 176.7 kB / 0.9506 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.9117, allocations: 48 kB / 0.9507 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001238/0.9129, allocations: 0.9627 MB / 0.9516 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9129, allocations: 3.938 kB / 0.9516 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003312/0.9162, allocations: 1.117 MB / 0.9527 GB, free: 5.227 MB / 0.6387 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.0002895/0.9165, allocations: 148.6 kB / 0.9529 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0119/0.9284, allocations: 6.421 MB / 0.9591 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.9285, allocations: 4 kB / 0.9591 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.009807/0.9383, allocations: 4.292 MB / 0.9633 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003832/0.9421, allocations: 496.6 kB / 0.9638 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.9528, allocations: 8.445 MB / 0.9721 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002685/0.9555, allocations: 2.719 MB / 0.9747 GB, free: 14.45 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001001/0.9565, allocations: 392.5 kB / 0.9751 GB, free: 14.06 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.9567, allocations: 95.42 kB / 0.9752 GB, free: 13.96 MB / 0.67 GB Notification: Performance of SimCode: time 5.41e-07/0.9567, allocations: 0 / 0.9752 GB, free: 13.96 MB / 0.67 GB Notification: Performance of Templates: time 0.08163/1.038, allocations: 56.86 MB / 1.031 GB, free: 5.426 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)