Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001131/0.001131, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001397/0.001397, allocations: 169 kB / 23.82 MB, free: 0.7461 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.008/1.008, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.758/1.758, allocations: 377.9 MB / 0.6236 GB, free: 8.555 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_RL_N,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_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,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_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.211e-05, allocations: 10.17 kB / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0104/0.01043, allocations: 11.86 MB / 0.8231 GB, free: 5.812 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006427/0.01686, allocations: 3.604 MB / 0.8267 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.01848, allocations: 115.1 kB / 0.8268 GB, free: 2.109 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.01965, allocations: 0.4965 MB / 0.8273 GB, free: 1.609 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.02178, allocations: 1.104 MB / 0.8283 GB, free: 0.5078 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.02358, allocations: 1.017 MB / 0.8293 GB, free: 15.49 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004829/0.02841, allocations: 4.881 MB / 0.8341 GB, free: 10.6 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00377/0.03218, allocations: 3.127 MB / 0.8371 GB, free: 7.398 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003922/0.0361, allocations: 3.004 MB / 0.8401 GB, free: 4.391 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0034/0.0395, allocations: 2.368 MB / 0.8424 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0009362/0.04044, allocations: 428 kB / 0.8428 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009723/0.04141, allocations: 0.5037 MB / 0.8433 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001304/0.04272, allocations: 1.812 MB / 0.8451 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001899/0.04462, allocations: 1.342 MB / 0.8464 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003567/0.04818, allocations: 3.354 MB / 0.8496 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.04819, allocations: 0 / 0.8496 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.336e-06/0.04819, allocations: 0 / 0.8496 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001945/0.04839, allocations: 0.7188 kB / 0.8496 GB, free: 10.57 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.004584/0.05297, allocations: 3.602 MB / 0.8532 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.05302, allocations: 8.031 kB / 0.8532 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.05502, allocations: 0.9857 MB / 0.8541 GB, free: 5.926 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.05738, allocations: 1.912 MB / 0.856 GB, free: 3.961 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.05748, allocations: 226.3 kB / 0.8562 GB, free: 3.738 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002998/0.05778, allocations: 296.3 kB / 0.8565 GB, free: 3.449 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003702/0.06149, allocations: 3.14 MB / 0.8596 GB, free: 15.97 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.127e-05/0.06155, allocations: 12.08 kB / 0.8596 GB, free: 15.96 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/0.06175, allocations: 135.9 kB / 0.8597 GB, free: 15.82 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002727/0.06202, allocations: 229.7 kB / 0.8599 GB, free: 15.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.0642, allocations: 1.138 MB / 0.861 GB, free: 14.45 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0121/0.0763, allocations: 14.44 MB / 0.8751 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009569/0.07726, allocations: 0.5929 MB / 0.8757 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005731/0.07783, allocations: 434.4 kB / 0.8761 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.357e-05/0.07789, allocations: 20.98 kB / 0.8762 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.07792, allocations: 50.39 kB / 0.8762 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=107): time 4.128e-06/0.07793, allocations: 0 / 0.8762 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=138): time 0.008368/0.0863, allocations: 4.494 MB / 0.8806 GB, free: 9.996 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.08635, allocations: 72.72 kB / 0.8807 GB, free: 9.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.08744, allocations: 0.989 MB / 0.8816 GB, free: 8.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.637e-05/0.08754, allocations: 49.7 kB / 0.8817 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008496/0.08839, allocations: 1.396 MB / 0.883 GB, free: 7.445 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/0.08871, allocations: 0.5075 MB / 0.8835 GB, free: 6.934 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/0.08902, allocations: 297.2 kB / 0.8838 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.08911, allocations: 476.8 kB / 0.8843 GB, free: 6.168 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004659/0.08958, allocations: 315.8 kB / 0.8846 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007059/0.09029, allocations: 0.8807 MB / 0.8854 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.09156, allocations: 1.313 MB / 0.8867 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.09157, allocations: 4 kB / 0.8867 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00279/0.09436, allocations: 1.931 MB / 0.8886 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.09439, allocations: 19.88 kB / 0.8886 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.09441, allocations: 15.98 kB / 0.8886 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002217/0.09662, allocations: 0.9128 MB / 0.8895 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005208/0.09714, allocations: 255.6 kB / 0.8898 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007997/0.1051, allocations: 9.113 MB / 0.8987 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007665/0.1059, allocations: 99.83 kB / 0.8988 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.106, allocations: 60 kB / 0.8988 GB, free: 6.41 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006045/0.1066, allocations: 252.2 kB / 0.8991 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.1068, allocations: 199.1 kB / 0.8993 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.1092, allocations: 1.658 MB / 0.9009 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.1092, allocations: 16 kB / 0.9009 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/0.1092, allocations: 12 kB / 0.9009 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.1092, allocations: 7.969 kB / 0.9009 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00547/0.1147, allocations: 3.99 MB / 0.9048 GB, free: 116 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.1147, allocations: 7.938 kB / 0.9048 GB, free: 108 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.115, allocations: 143.8 kB / 0.905 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001942/0.1169, allocations: 0.8545 MB / 0.9058 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.69e-05/0.117, allocations: 32 kB / 0.9058 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007992/0.125, allocations: 9.091 MB / 0.9147 GB, free: 5.617 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.125, allocations: 11.88 kB / 0.9147 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002603/0.1276, allocations: 1.875 MB / 0.9165 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005144/0.1281, allocations: 330.8 kB / 0.9169 GB, free: 3.297 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.1282, allocations: 32 kB / 0.9169 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.1287, allocations: 79.89 kB / 0.917 GB, free: 3.188 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/0.129, allocations: 136.6 kB / 0.9171 GB, free: 3.051 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-05/0.129, allocations: 40.19 kB / 0.9171 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007268/0.1297, allocations: 0.5848 MB / 0.9177 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1297, allocations: 0 / 0.9177 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001531/0.1313, allocations: 0.6719 MB / 0.9184 GB, free: 1.75 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002051/0.1315, allocations: 139.1 kB / 0.9185 GB, free: 1.605 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00252/0.134, allocations: 2.112 MB / 0.9206 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.134, allocations: 0 / 0.9206 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.1355, allocations: 1.572 MB / 0.9221 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.1367, allocations: 488.2 kB / 0.9226 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006954/0.1437, allocations: 4.786 MB / 0.9272 GB, free: 8.449 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007665/0.1445, allocations: 0.8077 MB / 0.928 GB, free: 7.617 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007141/0.1452, allocations: 293.2 kB / 0.9283 GB, free: 7.324 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.1453, allocations: 84.5 kB / 0.9284 GB, free: 7.242 MB / 0.8855 GB Notification: Performance of SimCode: time 2.134e-06/0.1453, allocations: 0 / 0.9284 GB, free: 7.242 MB / 0.8855 GB Notification: Performance of Templates: time 0.0411/0.1864, allocations: 35.06 MB / 0.9626 GB, free: 4.812 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.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.591354406904429]