Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001035/0.001035, allocations: 91.84 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.006597/0.006598, allocations: 169.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.729/1.729, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005789/0.0005789, allocations: 19.42 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2577, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01162/0.2694, allocations: 9.544 MB / 0.7972 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006289/0.2758, allocations: 3.054 MB / 0.8002 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.2771, allocations: 31.81 kB / 0.8002 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009491/0.278, allocations: 178.7 kB / 0.8004 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.2808, allocations: 0.6615 MB / 0.801 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.2835, allocations: 0.5383 MB / 0.8016 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006367/0.2899, allocations: 4.068 MB / 0.8055 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005585/0.2955, allocations: 3.123 MB / 0.8086 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.2976, allocations: 0.8327 MB / 0.8094 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002655/0.3003, allocations: 1.277 MB / 0.8106 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005409/0.3009, allocations: 100 kB / 0.8107 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.3024, allocations: 455.2 kB / 0.8112 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001523/0.3039, allocations: 0.8457 MB / 0.812 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002092/0.306, allocations: 0.8725 MB / 0.8128 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003754/0.3098, allocations: 3.263 MB / 0.816 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3098, allocations: 0 / 0.816 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3098, allocations: 4 kB / 0.816 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.558e-05/0.3099, allocations: 0 / 0.816 GB, free: 14.58 MB / 0.6387 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.003569/0.3135, allocations: 1.604 MB / 0.8176 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.3135, allocations: 8.031 kB / 0.8176 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005757/0.3193, allocations: 0.8844 MB / 0.8185 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.3215, allocations: 1.122 MB / 0.8196 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.489e-05/0.3216, allocations: 107.3 kB / 0.8197 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003062/0.3219, allocations: 140.3 kB / 0.8198 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004952/0.3268, allocations: 3.013 MB / 0.8227 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.86e-05/0.3269, allocations: 11.88 kB / 0.8228 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.3271, allocations: 63.97 kB / 0.8228 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002292/0.3273, allocations: 179 kB / 0.823 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004298/0.3317, allocations: 2.608 MB / 0.8255 GB, free: 4.637 MB / 0.6387 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.01646/0.3481, allocations: 13.53 MB / 0.8388 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.3501, allocations: 1.305 MB / 0.84 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.3515, allocations: 1.05 MB / 0.8411 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.267e-05/0.3516, allocations: 12.64 kB / 0.8411 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.3516, allocations: 47.14 kB / 0.8411 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.486e-06/0.3516, allocations: 0 / 0.8411 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139): time 0.07418/0.4258, allocations: 19.46 MB / 0.8601 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.4259, allocations: 68.72 kB / 0.8602 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.4273, allocations: 0.9183 MB / 0.8611 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002761/0.4276, allocations: 49.7 kB / 0.8611 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005403/0.4281, allocations: 0.7322 MB / 0.8618 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005061/0.4287, allocations: 489 kB / 0.8623 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.4289, allocations: 129.6 kB / 0.8624 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4291, allocations: 353.9 kB / 0.8628 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001884/0.431, allocations: 1.331 MB / 0.8641 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/0.4331, allocations: 1.659 MB / 0.8657 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004088/0.4372, allocations: 3.082 MB / 0.8687 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.4372, allocations: 0 / 0.8687 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01205/0.4493, allocations: 5.644 MB / 0.8742 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.4494, allocations: 11.12 kB / 0.8742 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.4494, allocations: 11.94 kB / 0.8742 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009119/0.4585, allocations: 2.715 MB / 0.8769 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009059/0.4595, allocations: 191.7 kB / 0.8771 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03562/0.4951, allocations: 23.33 MB / 0.8998 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.497, allocations: 99.94 kB / 0.8999 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.4972, allocations: 52 kB / 0.9 GB, free: 6.238 MB / 0.7169 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.001375/0.4986, allocations: 0.7354 MB / 0.9007 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/0.4989, allocations: 114.6 kB / 0.9008 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/0.5107, allocations: 5.4 MB / 0.9061 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.5108, allocations: 12 kB / 0.9061 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.471e-05/0.5108, allocations: 20 kB / 0.9061 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.039e-05/0.5109, allocations: 7.969 kB / 0.9061 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/0.5278, allocations: 8.617 MB / 0.9145 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.5279, allocations: 8.062 kB / 0.9146 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.5284, allocations: 115.9 kB / 0.9147 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008668/0.5371, allocations: 2.549 MB / 0.9172 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002122/0.5373, allocations: 27.94 kB / 0.9172 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6015/1.139, allocations: 20.86 MB / 0.9376 GB, free: 121 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.139, allocations: 2.594 kB / 0.9376 GB, free: 121 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01287/1.152, allocations: 5.133 MB / 0.9426 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/1.153, allocations: 477.4 kB / 0.943 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/1.153, allocations: 29.8 kB / 0.943 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.154, allocations: 74.98 kB / 0.9431 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008301/1.155, allocations: 123.6 kB / 0.9432 GB, free: 119 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/1.155, allocations: 35.94 kB / 0.9433 GB, free: 119 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001096/1.156, allocations: 0.6446 MB / 0.9439 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/1.156, allocations: 3.062 kB / 0.9439 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003196/1.16, allocations: 0.7208 MB / 0.9446 GB, free: 118.7 MB / 0.7325 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.0002981/1.16, allocations: 138 kB / 0.9447 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007573/1.168, allocations: 4.167 MB / 0.9488 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/1.168, allocations: 4.406 kB / 0.9488 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005997/1.174, allocations: 2.663 MB / 0.9514 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/1.176, allocations: 211.5 kB / 0.9516 GB, free: 115.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00772/1.183, allocations: 4.681 MB / 0.9562 GB, free: 113.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002691/1.186, allocations: 1.705 MB / 0.9579 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001415/1.188, allocations: 329.2 kB / 0.9582 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/1.188, allocations: 53.72 kB / 0.9582 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of SimCode: time 2.805e-06/1.188, allocations: 1.344 kB / 0.9582 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.05167/1.24, allocations: 36.73 MB / 0.9941 GB, free: 82.63 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) Environment - environmentSimulation: