Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 107.7 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 189.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6717/0.6717, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 65.56 kB / 0.5577 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.129, allocations: 76.19 MB / 0.6321 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02347/0.1525, allocations: 22.56 MB / 0.6541 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.1641, allocations: 6.236 MB / 0.6602 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/0.1667, allocations: 95.5 kB / 0.6603 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004055/0.1708, allocations: 1.541 MB / 0.6618 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004097/0.1749, allocations: 1.622 MB / 0.6634 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003454/0.1784, allocations: 1.346 MB / 0.6647 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007067/0.1855, allocations: 5.943 MB / 0.6705 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0079/0.1934, allocations: 6.049 MB / 0.6764 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003648/0.1971, allocations: 2.446 MB / 0.6788 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004322/0.2014, allocations: 2.866 MB / 0.6816 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.2026, allocations: 456 kB / 0.6821 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002962/0.2056, allocations: 1.104 MB / 0.6831 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002621/0.2083, allocations: 2.027 MB / 0.6851 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00295/0.2112, allocations: 2.167 MB / 0.6872 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007629/0.2189, allocations: 7.292 MB / 0.6943 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.2189, allocations: 0 / 0.6943 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2189, allocations: 0 / 0.6943 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000188/0.2191, allocations: 4 kB / 0.6943 GB, free: 4.375 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007541/0.2266, allocations: 3.824 MB / 0.6981 GB, free: 500 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2267, allocations: 8.031 kB / 0.6981 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005716/0.2324, allocations: 1.214 MB / 0.6993 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003454/0.2359, allocations: 2.332 MB / 0.7016 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.2361, allocations: 238.4 kB / 0.7018 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004606/0.2365, allocations: 319.8 kB / 0.7021 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008488/0.245, allocations: 6.212 MB / 0.7082 GB, free: 5.855 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.408e-05/0.2451, allocations: 19.92 kB / 0.7082 GB, free: 5.836 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003311/0.2454, allocations: 139.9 kB / 0.7083 GB, free: 5.699 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004271/0.2459, allocations: 406.3 kB / 0.7087 GB, free: 5.301 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006412/0.2523, allocations: 4.658 MB / 0.7132 GB, free: 0.6328 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02567/0.278, allocations: 28.96 MB / 0.7415 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.2798, allocations: 1.408 MB / 0.7429 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/0.2815, allocations: 1.487 MB / 0.7443 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.233e-05/0.2816, allocations: 13 kB / 0.7444 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.2816, allocations: 43.56 kB / 0.7444 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=110): time 2.565e-06/0.2816, allocations: 0 / 0.7444 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=179): time 0.4157/0.6973, allocations: 37.24 MB / 0.7808 GB, free: 112 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.6974, allocations: 76.44 kB / 0.7808 GB, free: 111.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.6989, allocations: 1.426 MB / 0.7822 GB, free: 111.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002139/0.6991, allocations: 51.39 kB / 0.7823 GB, free: 111.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000648/0.6998, allocations: 1.537 MB / 0.7838 GB, free: 109.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004153/0.7002, allocations: 0.6153 MB / 0.7844 GB, free: 109.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005942/0.7008, allocations: 381.4 kB / 0.7848 GB, free: 109 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.628e-05/0.7009, allocations: 301.1 kB / 0.785 GB, free: 108.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.7027, allocations: 1.79 MB / 0.7868 GB, free: 107.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/0.7046, allocations: 2.342 MB / 0.7891 GB, free: 104.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003794/0.7084, allocations: 4.395 MB / 0.7934 GB, free: 100.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.7084, allocations: 4 kB / 0.7934 GB, free: 100.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01379/0.7222, allocations: 8.563 MB / 0.8017 GB, free: 91.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.7223, allocations: 16.06 kB / 0.8018 GB, free: 91.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.7223, allocations: 16 kB / 0.8018 GB, free: 91.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01192/0.7343, allocations: 4.642 MB / 0.8063 GB, free: 87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000994/0.7353, allocations: 304.6 kB / 0.8066 GB, free: 86.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03457/0.7699, allocations: 32.58 MB / 0.8384 GB, free: 53.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.7719, allocations: 152.3 kB / 0.8386 GB, free: 53.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.772, allocations: 84.81 kB / 0.8386 GB, free: 53.09 MB / 0.5919 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00166/0.7737, allocations: 1.325 MB / 0.8399 GB, free: 51.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/0.774, allocations: 201.6 kB / 0.8401 GB, free: 51.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/0.788, allocations: 8.445 MB / 0.8484 GB, free: 43.06 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.788, allocations: 23.94 kB / 0.8484 GB, free: 43.04 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.099e-05/0.788, allocations: 26.7 kB / 0.8484 GB, free: 43.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.7881, allocations: 7.969 kB / 0.8484 GB, free: 43.01 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01962/0.8077, allocations: 12.85 MB / 0.861 GB, free: 30.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.8077, allocations: 7.125 kB / 0.861 GB, free: 30.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006234/0.8084, allocations: 163.8 kB / 0.8611 GB, free: 29.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01203/0.8204, allocations: 4.486 MB / 0.8655 GB, free: 25.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000256/0.8207, allocations: 44 kB / 0.8656 GB, free: 25.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03724/0.8579, allocations: 32.19 MB / 0.897 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.858, allocations: 8 kB / 0.897 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/0.874, allocations: 8.244 MB / 0.905 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/0.8753, allocations: 0.6156 MB / 0.9056 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003213/0.8756, allocations: 40 kB / 0.9057 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/0.877, allocations: 131.8 kB / 0.9058 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007532/0.8778, allocations: 170.6 kB / 0.906 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/0.8779, allocations: 51.94 kB / 0.906 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001169/0.8791, allocations: 0.9627 MB / 0.907 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8791, allocations: 0 / 0.907 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003293/0.8824, allocations: 1.113 MB / 0.9081 GB, free: 12.85 MB / 0.6231 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000329/0.8828, allocations: 151 kB / 0.9082 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01155/0.8943, allocations: 6.54 MB / 0.9146 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.892e-06/0.8943, allocations: 0 / 0.9146 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.008474/0.9028, allocations: 4.368 MB / 0.9189 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/0.9052, allocations: 0.5297 MB / 0.9194 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009835/0.9151, allocations: 6.794 MB / 0.926 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002506/0.9176, allocations: 2.722 MB / 0.9287 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009072/0.9185, allocations: 388.3 kB / 0.929 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.9187, allocations: 95.42 kB / 0.9291 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of SimCode: time 7.91e-07/0.9187, allocations: 0 / 0.9291 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of Templates: time 0.08049/0.9992, allocations: 61.12 MB / 0.9888 GB, free: 10.24 MB / 0.7012 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)