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.0009577/0.0009577, 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.001123/0.001123, 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 0.976/0.976, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.857/1.857, allocations: 377.9 MB / 0.624 GB, free: 8.348 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_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 4.619e-06/4.619e-06, allocations: 4 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.893e-05, allocations: 5.406 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01517/0.0152, allocations: 11.57 MB / 0.7713 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.008257/0.02346, allocations: 3.705 MB / 0.775 GB, free: 7.328 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.02459, allocations: 111.2 kB / 0.7751 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.02586, allocations: 0.4965 MB / 0.7756 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.02793, allocations: 1.116 MB / 0.7766 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.02927, allocations: 1.025 MB / 0.7776 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.003208/0.03247, allocations: 4.872 MB / 0.7824 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002662/0.03514, allocations: 3.325 MB / 0.7857 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.03763, allocations: 2.99 MB / 0.7886 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002064/0.03969, allocations: 2.303 MB / 0.7908 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004535/0.04015, allocations: 432 kB / 0.7912 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006126/0.04076, allocations: 0.4998 MB / 0.7917 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.04183, allocations: 1.805 MB / 0.7935 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.00118/0.04301, allocations: 1.349 MB / 0.7948 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002528/0.04553, allocations: 3.346 MB / 0.7981 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.04554, allocations: 0 / 0.7981 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.293e-06/0.04554, allocations: 0 / 0.7981 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.552e-05/0.04561, allocations: 6.75 kB / 0.7981 GB, free: 15.54 MB / 0.7605 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.003324/0.04893, allocations: 3.217 MB / 0.8012 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.04896, allocations: 8.031 kB / 0.8012 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.05062, allocations: 0.821 MB / 0.802 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.05232, allocations: 1.571 MB / 0.8036 GB, free: 9.852 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.05243, allocations: 222.3 kB / 0.8038 GB, free: 9.633 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003073/0.05274, allocations: 297 kB / 0.8041 GB, free: 9.344 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/0.05533, allocations: 2.866 MB / 0.8069 GB, free: 6.191 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-05/0.05539, allocations: 12.08 kB / 0.8069 GB, free: 6.18 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/0.05559, allocations: 133.4 kB / 0.807 GB, free: 6.051 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002147/0.0558, allocations: 217.8 kB / 0.8072 GB, free: 5.836 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.05693, allocations: 0.7836 MB / 0.808 GB, free: 5.043 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008402/0.06534, allocations: 10.39 MB / 0.8181 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005908/0.06593, allocations: 0.5372 MB / 0.8186 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003823/0.06631, allocations: 332.7 kB / 0.8189 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.181e-05/0.06636, allocations: 21.88 kB / 0.819 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.06639, allocations: 43.56 kB / 0.819 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=107): time 2.535e-06/0.06639, allocations: 1.062 kB / 0.819 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of matching and sorting (n=110): time 0.007381/0.07377, allocations: 3.93 MB / 0.8228 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.07381, allocations: 64.41 kB / 0.8229 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005658/0.07437, allocations: 0.8881 MB / 0.8238 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/0.07443, allocations: 53.64 kB / 0.8238 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000473/0.0749, allocations: 1.192 MB / 0.825 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.07511, allocations: 404.5 kB / 0.8254 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.07534, allocations: 239.4 kB / 0.8256 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.07544, allocations: 365.8 kB / 0.826 GB, free: 2.289 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.07563, allocations: 147.9 kB / 0.8261 GB, free: 2.145 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.07602, allocations: 0.5527 MB / 0.8266 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006843/0.0767, allocations: 0.8329 MB / 0.8275 GB, free: 432 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.07671, allocations: 4 kB / 0.8275 GB, free: 428 kB / 0.7761 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001414/0.07812, allocations: 1.158 MB / 0.8286 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.07814, allocations: 12 kB / 0.8286 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.07816, allocations: 16 kB / 0.8286 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.07933, allocations: 0.5766 MB / 0.8292 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.07975, allocations: 215.7 kB / 0.8294 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004066/0.08382, allocations: 4.573 MB / 0.8338 GB, free: 9.664 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.08419, allocations: 43.94 kB / 0.8339 GB, free: 9.621 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.08424, allocations: 44 kB / 0.8339 GB, free: 9.578 MB / 0.7917 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 (125): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,25,88.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004971/0.08474, allocations: 192.3 kB / 0.8341 GB, free: 9.379 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.08489, allocations: 131.9 kB / 0.8342 GB, free: 9.25 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.08615, allocations: 0.9958 MB / 0.8352 GB, free: 8.23 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.08616, allocations: 12 kB / 0.8352 GB, free: 8.219 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.08617, allocations: 8 kB / 0.8352 GB, free: 8.211 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.08618, allocations: 7.984 kB / 0.8352 GB, free: 8.203 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.08885, allocations: 2.186 MB / 0.8374 GB, free: 5.941 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.08885, allocations: 11.92 kB / 0.8374 GB, free: 5.93 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.0891, allocations: 103.8 kB / 0.8375 GB, free: 5.828 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/0.0902, allocations: 0.5604 MB / 0.838 GB, free: 5.262 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.09025, allocations: 20.12 kB / 0.8381 GB, free: 5.242 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003911/0.09416, allocations: 4.578 MB / 0.8425 GB, free: 492 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.09416, allocations: 7.938 kB / 0.8425 GB, free: 484 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.09545, allocations: 1.131 MB / 0.8436 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/0.09573, allocations: 211 kB / 0.8438 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.336e-05/0.09582, allocations: 28 kB / 0.8439 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.09609, allocations: 20 kB / 0.8439 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.09622, allocations: 100.7 kB / 0.844 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.09626, allocations: 24 kB / 0.844 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003055/0.09656, allocations: 441.9 kB / 0.8444 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.09656, allocations: 0 / 0.8444 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001047/0.09761, allocations: 0.5859 MB / 0.845 GB, free: 13.88 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,84.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001583/0.09777, allocations: 112.2 kB / 0.8451 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001311/0.09908, allocations: 1.264 MB / 0.8463 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.027e-05/0.0991, allocations: 17.81 kB / 0.8464 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008192/0.09992, allocations: 0.9182 MB / 0.8472 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009467/0.1009, allocations: 475.6 kB / 0.8477 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00513/0.106, allocations: 4.656 MB / 0.8522 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006407/0.1066, allocations: 0.7541 MB / 0.853 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004246/0.1071, allocations: 172.6 kB / 0.8531 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005799/0.1076, allocations: 387.1 kB / 0.8535 GB, free: 4.977 MB / 0.8073 GB Notification: Performance of SimCode: time 1.183e-06/0.1076, allocations: 0 / 0.8535 GB, free: 4.977 MB / 0.8073 GB Notification: Performance of Templates: time 0.03523/0.1429, allocations: 29.36 MB / 0.8822 GB, free: 8.215 MB / 0.8386 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.509641407057643]