Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.0009679/0.0009679, 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.001718/0.001718, 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 0.9796/0.9796, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.739/1.739, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.558e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01273/0.01275, allocations: 15.5 MB / 0.8023 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00783/0.02058, allocations: 4.495 MB / 0.8066 GB, free: 8.414 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/0.02255, allocations: 155.3 kB / 0.8068 GB, free: 8.262 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.02413, allocations: 0.6336 MB / 0.8074 GB, free: 7.625 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002719/0.02685, allocations: 1.468 MB / 0.8089 GB, free: 6.16 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.02907, allocations: 1.311 MB / 0.8101 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.005309/0.03438, allocations: 6.168 MB / 0.8162 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003889/0.03827, allocations: 3.773 MB / 0.8198 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004315/0.04258, allocations: 3.704 MB / 0.8235 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003549/0.04613, allocations: 2.853 MB / 0.8262 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001492/0.04763, allocations: 0.5104 MB / 0.8267 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.04913, allocations: 0.6091 MB / 0.8273 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001747/0.05088, allocations: 2.221 MB / 0.8295 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.00225/0.05313, allocations: 1.665 MB / 0.8311 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004118/0.05725, allocations: 4.11 MB / 0.8351 GB, free: 11.1 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.05725, allocations: 0 / 0.8351 GB, free: 11.1 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.332e-06/0.05725, allocations: 0 / 0.8351 GB, free: 11.1 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002014/0.05746, allocations: 0.9375 kB / 0.8351 GB, free: 11.1 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.006022/0.06348, allocations: 4.393 MB / 0.8394 GB, free: 6.648 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.06353, allocations: 8.031 kB / 0.8394 GB, free: 6.641 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002626/0.06615, allocations: 1.208 MB / 0.8406 GB, free: 5.43 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/0.06907, allocations: 2.431 MB / 0.843 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.06922, allocations: 275.6 kB / 0.8433 GB, free: 2.68 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004801/0.0697, allocations: 380.8 kB / 0.8436 GB, free: 2.309 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005292/0.075, allocations: 3.976 MB / 0.8475 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.733e-05/0.07508, allocations: 19.81 kB / 0.8475 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002669/0.07535, allocations: 156 kB / 0.8477 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003718/0.07572, allocations: 282.9 kB / 0.8479 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002992/0.07871, allocations: 1.414 MB / 0.8493 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0185/0.09721, allocations: 19.87 MB / 0.8687 GB, free: 7.531 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007008/0.09791, allocations: 452.6 kB / 0.8692 GB, free: 7.086 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005156/0.09843, allocations: 411.8 kB / 0.8696 GB, free: 6.684 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.729e-05/0.09849, allocations: 17 kB / 0.8696 GB, free: 6.664 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.09853, allocations: 62.36 kB / 0.8696 GB, free: 6.594 MB / 0.823 GB Notification: Performance of pre-optimization done (n=110): time 7.314e-06/0.09853, allocations: 0 / 0.8696 GB, free: 6.594 MB / 0.823 GB Notification: Performance of matching and sorting (n=131): time 0.00877/0.1073, allocations: 5.061 MB / 0.8746 GB, free: 1.457 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1073, allocations: 64.72 kB / 0.8746 GB, free: 1.383 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.1089, allocations: 1.312 MB / 0.8759 GB, free: 56 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.239e-05/0.1089, allocations: 49.7 kB / 0.876 GB, free: 0 / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008553/0.1098, allocations: 1.777 MB / 0.8777 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000308/0.1101, allocations: 499.9 kB / 0.8782 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/0.1105, allocations: 337 kB / 0.8785 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1106, allocations: 476.8 kB / 0.879 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/0.1111, allocations: 335.8 kB / 0.8793 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008483/0.1119, allocations: 1.101 MB / 0.8803 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.1137, allocations: 1.567 MB / 0.8819 GB, free: 9.254 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.1137, allocations: 4 kB / 0.8819 GB, free: 9.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002913/0.1166, allocations: 1.984 MB / 0.8838 GB, free: 7.219 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.1167, allocations: 12.19 kB / 0.8838 GB, free: 7.207 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.1167, allocations: 24 kB / 0.8839 GB, free: 7.184 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/0.1182, allocations: 0.5982 MB / 0.8844 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000852/0.119, allocations: 387.3 kB / 0.8848 GB, free: 6.168 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00998/0.129, allocations: 17.18 MB / 0.9016 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.1303, allocations: 115.9 kB / 0.9017 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.1305, allocations: 72 kB / 0.9018 GB, free: 3.695 MB / 0.8542 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 (193): * Single equations (assignments): 184 * 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,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,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.0008992/0.1314, allocations: 272 kB / 0.902 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/0.1317, allocations: 242.8 kB / 0.9023 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.1341, allocations: 1.521 MB / 0.9037 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.1341, allocations: 15.94 kB / 0.9038 GB, free: 1.594 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.1341, allocations: 8 kB / 0.9038 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.1341, allocations: 7.969 kB / 0.9038 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005732/0.1398, allocations: 4.202 MB / 0.9079 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.1399, allocations: 8 kB / 0.9079 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005769/0.1404, allocations: 227.7 kB / 0.9081 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.1417, allocations: 0.5794 MB / 0.9087 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.619e-05/0.1418, allocations: 35.98 kB / 0.9087 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008893/0.1507, allocations: 17.14 MB / 0.9254 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.1507, allocations: 7.938 kB / 0.9254 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/0.1536, allocations: 2.068 MB / 0.9275 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006142/0.1542, allocations: 354.7 kB / 0.9278 GB, free: 7.496 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.1544, allocations: 39.94 kB / 0.9278 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004753/0.1548, allocations: 83.89 kB / 0.9279 GB, free: 7.375 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002635/0.1551, allocations: 128.5 kB / 0.928 GB, free: 7.246 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.512e-05/0.1552, allocations: 36 kB / 0.9281 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007472/0.1559, allocations: 0.7525 MB / 0.9288 GB, free: 6.465 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1559, allocations: 4 kB / 0.9288 GB, free: 6.461 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001843/0.1577, allocations: 0.6992 MB / 0.9295 GB, free: 5.762 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * 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,2,100.0%), (2,2,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 Backend phase and start with SimCode phase: time 0.0002261/0.158, allocations: 153 kB / 0.9296 GB, free: 5.602 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003108/0.1611, allocations: 2.878 MB / 0.9325 GB, free: 2.57 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.1611, allocations: 4 kB / 0.9325 GB, free: 2.566 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001683/0.1628, allocations: 2.271 MB / 0.9347 GB, free: 136 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.1643, allocations: 0.6454 MB / 0.9353 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008456/0.1728, allocations: 5.835 MB / 0.941 GB, free: 9.527 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000961/0.1738, allocations: 0.9285 MB / 0.9419 GB, free: 8.574 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0009763/0.1747, allocations: 388.4 kB / 0.9423 GB, free: 8.191 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.175, allocations: 116.5 kB / 0.9424 GB, free: 8.078 MB / 0.9011 GB Notification: Performance of SimCode: time 1.854e-06/0.175, allocations: 4 kB / 0.9424 GB, free: 8.074 MB / 0.9011 GB Notification: Performance of Templates: time 0.04366/0.2186, allocations: 35.97 MB / 0.9775 GB, free: 4.848 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.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: 5.93740077316761]