Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 108.9 kB / 17.04 MB, free: 5.812 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.001415/0.001415, allocations: 195 kB / 17.98 MB, free: 5.027 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.343/1.343, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7137/0.7137, allocations: 115.1 MB / 406.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4331, allocations: 76.14 MB / 0.5576 GB, free: 36.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01206/0.4452, allocations: 10 MB / 0.5674 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006002/0.4513, allocations: 3.035 MB / 0.5703 GB, free: 28.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007865/0.4521, allocations: 38.34 kB / 0.5704 GB, free: 28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.454, allocations: 0.6831 MB / 0.571 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.456, allocations: 0.6926 MB / 0.5717 GB, free: 27.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.4579, allocations: 0.6344 MB / 0.5723 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003437/0.4614, allocations: 2.742 MB / 0.575 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002939/0.4643, allocations: 2.535 MB / 0.5775 GB, free: 24.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.4665, allocations: 1.124 MB / 0.5786 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.4685, allocations: 1.378 MB / 0.5799 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003334/0.4689, allocations: 218.1 kB / 0.5801 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.4701, allocations: 487.4 kB / 0.5806 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.4711, allocations: 0.9839 MB / 0.5815 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.4722, allocations: 1.015 MB / 0.5825 GB, free: 22.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003595/0.4758, allocations: 3.412 MB / 0.5859 GB, free: 21.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.4759, allocations: 1.281 kB / 0.5859 GB, free: 21.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4759, allocations: 0 / 0.5859 GB, free: 21.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.653e-05/0.4759, allocations: 0 / 0.5859 GB, free: 21.03 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003902/0.4799, allocations: 1.943 MB / 0.5878 GB, free: 19.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4799, allocations: 9.469 kB / 0.5878 GB, free: 19.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005495/0.4854, allocations: 0.8919 MB / 0.5886 GB, free: 19.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003199/0.4886, allocations: 1.165 MB / 0.5898 GB, free: 18.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-05/0.4887, allocations: 109.9 kB / 0.5899 GB, free: 18.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004025/0.4892, allocations: 142.6 kB / 0.59 GB, free: 18.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004952/0.4941, allocations: 3.022 MB / 0.593 GB, free: 16.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.4942, allocations: 4 kB / 0.593 GB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/0.4943, allocations: 63.97 kB / 0.593 GB, free: 16.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001726/0.4945, allocations: 175 kB / 0.5932 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003336/0.4979, allocations: 2.612 MB / 0.5958 GB, free: 13.38 MB / 446.1 MB 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.01296/0.5108, allocations: 13.48 MB / 0.6089 GB, free: 14.8 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.5127, allocations: 1.299 MB / 0.6102 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.514, allocations: 1.047 MB / 0.6112 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.457e-05/0.5141, allocations: 20.58 kB / 0.6112 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.5141, allocations: 43.22 kB / 0.6113 GB, free: 12.37 MB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 2.624e-06/0.5142, allocations: 0 / 0.6113 GB, free: 12.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=139): time 0.06548/0.5796, allocations: 19.38 MB / 0.6302 GB, free: 8.848 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.5797, allocations: 72.66 kB / 0.6303 GB, free: 8.762 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.5811, allocations: 0.9183 MB / 0.6312 GB, free: 7.836 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000202/0.5813, allocations: 49.7 kB / 0.6312 GB, free: 7.781 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005432/0.5818, allocations: 0.7244 MB / 0.6319 GB, free: 7.043 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004478/0.5823, allocations: 492.9 kB / 0.6324 GB, free: 6.555 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005519/0.5828, allocations: 295.4 kB / 0.6327 GB, free: 6.258 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.583, allocations: 353.9 kB / 0.633 GB, free: 5.906 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.5848, allocations: 1.335 MB / 0.6343 GB, free: 4.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/0.5869, allocations: 1.659 MB / 0.6359 GB, free: 2.797 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004017/0.5909, allocations: 3.088 MB / 0.6389 GB, free: 15.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.5909, allocations: 4 kB / 0.6389 GB, free: 15.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01123/0.6022, allocations: 5.641 MB / 0.6445 GB, free: 9.918 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.6022, allocations: 10.19 kB / 0.6445 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.6023, allocations: 11.94 kB / 0.6445 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008485/0.6107, allocations: 2.718 MB / 0.6471 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008199/0.6116, allocations: 187.7 kB / 0.6473 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0353/0.6469, allocations: 25.72 MB / 0.6724 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.6485, allocations: 95.94 kB / 0.6725 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.6487, allocations: 56 kB / 0.6726 GB, free: 12.55 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001335/0.6501, allocations: 0.7373 MB / 0.6733 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/0.6503, allocations: 114.6 kB / 0.6734 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.6614, allocations: 5.396 MB / 0.6787 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.6614, allocations: 12 kB / 0.6787 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.651e-05/0.6615, allocations: 20 kB / 0.6787 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.6615, allocations: 3.984 kB / 0.6787 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01556/0.6771, allocations: 8.622 MB / 0.6871 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.6771, allocations: 7.938 kB / 0.6871 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.6776, allocations: 123.8 kB / 0.6872 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008026/0.6856, allocations: 2.55 MB / 0.6897 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002088/0.6858, allocations: 31.98 kB / 0.6898 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0327/0.7186, allocations: 22.98 MB / 0.7122 GB, free: 3.215 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/0.7186, allocations: 4 kB / 0.7122 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/0.7286, allocations: 5.132 MB / 0.7172 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/0.7298, allocations: 471.6 kB / 0.7177 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.73, allocations: 32 kB / 0.7177 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008171/0.7309, allocations: 75.89 kB / 0.7178 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005024/0.7314, allocations: 121 kB / 0.7179 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.7315, allocations: 43.94 kB / 0.7179 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008126/0.7323, allocations: 0.6434 MB / 0.7186 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.7323, allocations: 4 kB / 0.7186 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002305/0.7346, allocations: 0.7227 MB / 0.7193 GB, free: 11.89 MB / 0.5606 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000248/0.7349, allocations: 127.2 kB / 0.7194 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006476/0.7414, allocations: 4.179 MB / 0.7235 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.7414, allocations: 4 kB / 0.7235 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004683/0.7461, allocations: 2.654 MB / 0.7261 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.7474, allocations: 220.5 kB / 0.7263 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005873/0.7532, allocations: 3.898 MB / 0.7301 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/0.7547, allocations: 1.7 MB / 0.7318 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006931/0.7554, allocations: 325.5 kB / 0.7321 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.7556, allocations: 59.42 kB / 0.7321 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.7556, allocations: 0 / 0.7321 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of Templates: time 0.3429/1.099, allocations: 38.97 MB / 0.7702 GB, free: 156.7 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)