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.001019/0.001019, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001331/0.001331, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.085/1.085, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.937/1.937, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 3.878e-06/3.878e-06, allocations: 4.875 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.63e-05, allocations: 6.797 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01731/0.01734, allocations: 18.39 MB / 0.7781 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01221/0.02955, allocations: 9.654 MB / 0.7875 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.03152, allocations: 194.5 kB / 0.7877 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.03312, allocations: 0.7754 MB / 0.7884 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.004689/0.03781, allocations: 2.587 MB / 0.791 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.04054, allocations: 1.606 MB / 0.7925 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006964/0.04751, allocations: 7.72 MB / 0.8001 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005041/0.05255, allocations: 4.861 MB / 0.8048 GB, free: 8.586 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006017/0.05856, allocations: 4.915 MB / 0.8096 GB, free: 3.668 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003965/0.06253, allocations: 3.175 MB / 0.8127 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001259/0.06379, allocations: 0.586 MB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.06508, allocations: 0.6833 MB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001787/0.06687, allocations: 2.55 MB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002006/0.06888, allocations: 2 MB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.004206/0.07308, allocations: 4.842 MB / 0.8231 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.07309, allocations: 0 / 0.8231 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.383e-06/0.07309, allocations: 4.75 kB / 0.8231 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001088/0.0732, allocations: 3.938 kB / 0.8231 GB, free: 5.797 MB / 0.7761 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.00497/0.07817, allocations: 4.84 MB / 0.8279 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.0782, allocations: 8.031 kB / 0.8279 GB, free: 0.9023 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003032/0.08123, allocations: 1.279 MB / 0.8291 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00272/0.08395, allocations: 2.387 MB / 0.8314 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.08411, allocations: 320.8 kB / 0.8317 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004138/0.08452, allocations: 428.3 kB / 0.8322 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003936/0.08846, allocations: 4.157 MB / 0.8362 GB, free: 7.855 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.771e-05/0.08853, allocations: 23.77 kB / 0.8362 GB, free: 7.832 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/0.0888, allocations: 184 kB / 0.8364 GB, free: 7.652 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003781/0.08917, allocations: 320.6 kB / 0.8367 GB, free: 7.336 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.09079, allocations: 1.13 MB / 0.8378 GB, free: 6.188 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01281/0.1036, allocations: 15.2 MB / 0.8527 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005935/0.1042, allocations: 487.8 kB / 0.8531 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.1046, allocations: 436.1 kB / 0.8535 GB, free: 5.594 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.266e-05/0.1047, allocations: 21.31 kB / 0.8536 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.1047, allocations: 51.88 kB / 0.8536 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=130): time 3.547e-06/0.1047, allocations: 0 / 0.8536 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of matching and sorting (n=133): time 0.007625/0.1124, allocations: 3.921 MB / 0.8574 GB, free: 1.559 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.1124, allocations: 68.72 kB / 0.8575 GB, free: 1.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.1134, allocations: 1.544 MB / 0.859 GB, free: 15.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-05/0.1135, allocations: 45.7 kB / 0.8591 GB, free: 15.85 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007241/0.1142, allocations: 1.755 MB / 0.8608 GB, free: 14.08 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003021/0.1145, allocations: 491.7 kB / 0.8612 GB, free: 13.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003507/0.1149, allocations: 311.2 kB / 0.8615 GB, free: 13.29 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.115, allocations: 305.1 kB / 0.8618 GB, free: 12.98 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.1153, allocations: 211.9 kB / 0.862 GB, free: 12.78 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000935/0.1162, allocations: 0.7603 MB / 0.8628 GB, free: 11.77 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.1173, allocations: 1.163 MB / 0.8639 GB, free: 10.37 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.1173, allocations: 4 kB / 0.8639 GB, free: 10.37 MB / 0.823 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.002428/0.1197, allocations: 1.637 MB / 0.8655 GB, free: 8.684 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.1197, allocations: 19.94 kB / 0.8655 GB, free: 8.664 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.1197, allocations: 16 kB / 0.8655 GB, free: 8.648 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001983/0.1217, allocations: 0.8442 MB / 0.8664 GB, free: 7.766 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007441/0.1225, allocations: 339.5 kB / 0.8667 GB, free: 7.434 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008202/0.1307, allocations: 12.55 MB / 0.879 GB, free: 10 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000993/0.1317, allocations: 55.98 kB / 0.879 GB, free: 9.945 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.042e-05/0.1317, allocations: 56.47 kB / 0.8791 GB, free: 9.891 MB / 0.8386 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 (183): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,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.000788/0.1325, allocations: 232 kB / 0.8793 GB, free: 9.652 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.1327, allocations: 199.8 kB / 0.8795 GB, free: 9.457 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.1346, allocations: 1.368 MB / 0.8808 GB, free: 8.039 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.1346, allocations: 12 kB / 0.8808 GB, free: 8.027 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.1346, allocations: 12 kB / 0.8808 GB, free: 8.016 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.1346, allocations: 11.97 kB / 0.8808 GB, free: 8.004 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004819/0.1395, allocations: 2.925 MB / 0.8837 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.1395, allocations: 4 kB / 0.8837 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004553/0.1399, allocations: 172.1 kB / 0.8839 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001875/0.1418, allocations: 0.8127 MB / 0.8847 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.171e-05/0.1419, allocations: 28 kB / 0.8847 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008044/0.1499, allocations: 12.55 MB / 0.8969 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.1499, allocations: 12.06 kB / 0.897 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/0.1522, allocations: 1.483 MB / 0.8984 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005864/0.1528, allocations: 310.3 kB / 0.8987 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.1529, allocations: 32 kB / 0.8987 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.1534, allocations: 31.98 kB / 0.8988 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002912/0.1537, allocations: 128.6 kB / 0.8989 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.807e-05/0.1538, allocations: 28 kB / 0.8989 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006587/0.1544, allocations: 0.7701 MB / 0.8997 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1544, allocations: 0 / 0.8997 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001887/0.1563, allocations: 0.8477 MB / 0.9005 GB, free: 2.738 MB / 0.8542 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 (91): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001952/0.1565, allocations: 132.2 kB / 0.9006 GB, free: 2.602 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002403/0.1589, allocations: 2.27 MB / 0.9028 GB, free: 220 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.912e-05/0.159, allocations: 29.81 kB / 0.9029 GB, free: 192 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001761/0.1607, allocations: 1.785 MB / 0.9046 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.1628, allocations: 0.888 MB / 0.9055 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008949/0.1718, allocations: 6.672 MB / 0.912 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.1728, allocations: 1.054 MB / 0.913 GB, free: 5.574 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00109/0.1739, allocations: 300.3 kB / 0.9133 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/0.175, allocations: 0.6786 MB / 0.914 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of SimCode: time 1.904e-06/0.175, allocations: 0 / 0.914 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of Templates: time 0.06164/0.2366, allocations: 47.7 MB / 0.9605 GB, free: 6.012 MB / 0.9167 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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.095114537049085]