Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 161 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.002/1.002, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.912/1.912, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.8116 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.378e-05, allocations: 3.297 kB / 0.8116 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01466/0.01467, allocations: 18.83 MB / 0.8299 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.0248, allocations: 9.511 MB / 0.8392 GB, free: 5.344 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.02582, allocations: 198.4 kB / 0.8394 GB, free: 5.148 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.02701, allocations: 0.7754 MB / 0.8402 GB, free: 4.367 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002961/0.02997, allocations: 2.577 MB / 0.8427 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.03159, allocations: 1.576 MB / 0.8442 GB, free: 200 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004943/0.03653, allocations: 7.701 MB / 0.8518 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003925/0.04046, allocations: 4.592 MB / 0.8562 GB, free: 3.754 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003891/0.04435, allocations: 4.881 MB / 0.861 GB, free: 14.86 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002914/0.04726, allocations: 3.242 MB / 0.8642 GB, free: 11.61 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005366/0.0478, allocations: 0.5938 MB / 0.8648 GB, free: 11.02 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008428/0.04864, allocations: 0.6911 MB / 0.8654 GB, free: 10.33 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001434/0.05008, allocations: 2.56 MB / 0.8679 GB, free: 7.762 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.05153, allocations: 2.019 MB / 0.8699 GB, free: 5.738 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003391/0.05492, allocations: 4.861 MB / 0.8746 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.05492, allocations: 3.938 kB / 0.8747 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.232e-06/0.05492, allocations: 4 kB / 0.8747 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.319e-05/0.05497, allocations: 0 / 0.8747 GB, free: 0.8555 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.005006/0.05997, allocations: 5.281 MB / 0.8798 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.06001, allocations: 8.031 kB / 0.8798 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003168/0.06318, allocations: 1.558 MB / 0.8813 GB, free: 9.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003142/0.06632, allocations: 3.015 MB / 0.8843 GB, free: 6.824 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.06648, allocations: 316.8 kB / 0.8846 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005417/0.06702, allocations: 428.3 kB / 0.885 GB, free: 6.094 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004613/0.07163, allocations: 4.555 MB / 0.8894 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.546e-05/0.0717, allocations: 23.83 kB / 0.8895 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/0.07196, allocations: 184 kB / 0.8896 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004589/0.07242, allocations: 372 kB / 0.89 GB, free: 476 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00295/0.07537, allocations: 1.629 MB / 0.8916 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01442/0.08979, allocations: 21.18 MB / 0.9123 GB, free: 9.027 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009577/0.09075, allocations: 0.5636 MB / 0.9128 GB, free: 8.457 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006547/0.0914, allocations: 0.5343 MB / 0.9133 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.74e-05/0.09148, allocations: 21.31 kB / 0.9134 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.09151, allocations: 58.69 kB / 0.9134 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=130): time 2.364e-06/0.09151, allocations: 0 / 0.9134 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of matching and sorting (n=199): time 0.01077/0.1023, allocations: 6.604 MB / 0.9199 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.1023, allocations: 77.34 kB / 0.9199 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.1037, allocations: 1.7 MB / 0.9216 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.351e-05/0.1038, allocations: 57.7 kB / 0.9217 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009027/0.1047, allocations: 2.117 MB / 0.9237 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000394/0.1051, allocations: 0.7244 MB / 0.9244 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004567/0.1056, allocations: 414.4 kB / 0.9248 GB, free: 12 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.1057, allocations: 476.8 kB / 0.9253 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000787/0.1065, allocations: 0.512 MB / 0.9258 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.1078, allocations: 1.331 MB / 0.9271 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/0.1098, allocations: 2.026 MB / 0.9291 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.1098, allocations: 4 kB / 0.9291 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.004928/0.1147, allocations: 3.318 MB / 0.9323 GB, free: 3.574 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.1148, allocations: 12 kB / 0.9323 GB, free: 3.562 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.1148, allocations: 16 kB / 0.9323 GB, free: 3.547 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004354/0.1191, allocations: 1.739 MB / 0.934 GB, free: 1.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/0.1199, allocations: 375.4 kB / 0.9344 GB, free: 1.363 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02006/0.14, allocations: 35.84 MB / 0.9694 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.141, allocations: 131.9 kB / 0.9695 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.1412, allocations: 88 kB / 0.9696 GB, free: 11.09 MB / 0.9323 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000806/0.142, allocations: 296.5 kB / 0.9699 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.1423, allocations: 338.3 kB / 0.9702 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004455/0.1467, allocations: 2.888 MB / 0.973 GB, free: 7.477 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.1467, allocations: 23.92 kB / 0.973 GB, free: 7.453 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.1468, allocations: 20 kB / 0.9731 GB, free: 7.434 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.1468, allocations: 7.969 kB / 0.9731 GB, free: 7.426 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008495/0.1553, allocations: 6.292 MB / 0.9792 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.1553, allocations: 8.062 kB / 0.9792 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004534/0.1557, allocations: 219.6 kB / 0.9794 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003988/0.1597, allocations: 1.63 MB / 0.981 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.045e-05/0.1598, allocations: 40 kB / 0.9811 GB, free: 14.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01902/0.1788, allocations: 35.76 MB / 1.016 GB, free: 8.941 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.1788, allocations: 7.938 kB / 1.016 GB, free: 8.934 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004526/0.1833, allocations: 3.015 MB / 1.019 GB, free: 5.707 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007207/0.1841, allocations: 0.4982 MB / 1.019 GB, free: 5.207 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.1842, allocations: 47.94 kB / 1.019 GB, free: 5.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006932/0.1849, allocations: 128 kB / 1.02 GB, free: 5.035 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003725/0.1853, allocations: 201.5 kB / 1.02 GB, free: 4.84 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-05/0.1854, allocations: 60 kB / 1.02 GB, free: 4.781 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0009343/0.1863, allocations: 0.9809 MB / 1.021 GB, free: 3.785 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1863, allocations: 3.938 kB / 1.021 GB, free: 3.781 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002441/0.1888, allocations: 1.047 MB / 1.022 GB, free: 2.734 MB / 0.9792 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002124/0.189, allocations: 171.5 kB / 1.022 GB, free: 2.559 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004869/0.1938, allocations: 5.419 MB / 1.027 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1938, allocations: 0 / 1.027 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003353/0.1972, allocations: 4.562 MB / 1.032 GB, free: 7.934 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.1992, allocations: 0.9218 MB / 1.033 GB, free: 7.043 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008095/0.2073, allocations: 7.279 MB / 1.04 GB, free: 15.62 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009886/0.2083, allocations: 1.174 MB / 1.041 GB, free: 14.41 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008108/0.2091, allocations: 426.3 kB / 1.041 GB, free: 13.99 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.2093, allocations: 140.5 kB / 1.041 GB, free: 13.86 MB / 1.01 GB Notification: Performance of SimCode: time 1.012e-06/0.2093, allocations: 4 kB / 1.041 GB, free: 13.85 MB / 1.01 GB Notification: Performance of Templates: time 0.399/0.6084, allocations: 61.49 MB / 1.101 GB, free: 228.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.865773485973477]