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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007849/0.000788, allocations: 97.52 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008238/0.0008238, allocations: 172.8 kB / 16.56 MB, free: 6.395 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.21/1.21, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6185/0.6185, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.0003141, allocations: 11.98 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1364, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01756/0.154, allocations: 19.8 MB / 0.5761 GB, free: 7.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009755/0.1638, allocations: 5.963 MB / 0.5819 GB, free: 1.848 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/0.1655, allocations: 75.5 kB / 0.582 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.1669, allocations: 433.3 kB / 0.5824 GB, free: 1.348 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003352/0.1703, allocations: 1.11 MB / 0.5835 GB, free: 240 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2286/0.3989, allocations: 0.8237 MB / 0.5843 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005021/0.404, allocations: 2.818 MB / 0.587 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008821/0.4128, allocations: 6.209 MB / 0.5931 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002743/0.4156, allocations: 1.503 MB / 0.5946 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.4178, allocations: 1.714 MB / 0.5962 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003933/0.4182, allocations: 206.6 kB / 0.5964 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.4195, allocations: 459.4 kB / 0.5969 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001558/0.421, allocations: 1.571 MB / 0.5984 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007488/0.4218, allocations: 0.7311 MB / 0.5991 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004816/0.4266, allocations: 5.893 MB / 0.6049 GB, free: 13.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.4266, allocations: 0 / 0.6049 GB, free: 13.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4266, allocations: 1.375 kB / 0.6049 GB, free: 13.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001047/0.4267, allocations: 0 / 0.6049 GB, free: 13.95 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.005039/0.4318, allocations: 3.082 MB / 0.6079 GB, free: 12.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.4318, allocations: 13.33 kB / 0.6079 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005928/0.4324, allocations: 0.5051 MB / 0.6084 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005225/0.4377, allocations: 1.252 MB / 0.6096 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003883/0.4416, allocations: 2.164 MB / 0.6117 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.4417, allocations: 239.2 kB / 0.612 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00046/0.4422, allocations: 319 kB / 0.6123 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007397/0.4496, allocations: 6.162 MB / 0.6183 GB, free: 7.516 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.58e-05/0.4497, allocations: 13.28 kB / 0.6183 GB, free: 7.508 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003332/0.45, allocations: 143.6 kB / 0.6184 GB, free: 7.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000386/0.4504, allocations: 404 kB / 0.6188 GB, free: 7.289 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005481/0.4559, allocations: 4.641 MB / 0.6233 GB, free: 4.387 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.02383/0.4797, allocations: 29.07 MB / 0.6517 GB, free: 4.766 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.4814, allocations: 1.41 MB / 0.6531 GB, free: 3.348 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.78e-05/0.4815, allocations: 13 kB / 0.6531 GB, free: 3.336 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.4815, allocations: 55.5 kB / 0.6532 GB, free: 3.273 MB / 478.1 MB Notification: Performance of pre-optimization done (n=110): time 2.425e-06/0.4815, allocations: 0 / 0.6532 GB, free: 3.273 MB / 478.1 MB Notification: Performance of matching and sorting (n=179): time 0.1269/0.6084, allocations: 36.3 MB / 0.6886 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.6085, allocations: 69.41 kB / 0.6887 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/0.6108, allocations: 1.404 MB / 0.6901 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002997/0.6111, allocations: 57.7 kB / 0.6901 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.6122, allocations: 1.537 MB / 0.6916 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007316/0.613, allocations: 0.6136 MB / 0.6922 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.6132, allocations: 44 kB / 0.6923 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.6134, allocations: 385.9 kB / 0.6926 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002422/0.6158, allocations: 1.779 MB / 0.6944 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002699/0.6185, allocations: 2.337 MB / 0.6966 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002658/0.6212, allocations: 2.051 MB / 0.6986 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.6212, allocations: 4 kB / 0.6987 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01637/0.6376, allocations: 8.537 MB / 0.707 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.6376, allocations: 16.06 kB / 0.707 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.6377, allocations: 16 kB / 0.707 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01346/0.6511, allocations: 4.631 MB / 0.7115 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.6523, allocations: 303.4 kB / 0.7118 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04106/0.6934, allocations: 30.82 MB / 0.7419 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/0.6958, allocations: 155.8 kB / 0.7421 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003833/0.6962, allocations: 85.91 kB / 0.7422 GB, free: 6.984 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(11,90.1%) 13,(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 6,(6,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002715/0.6989, allocations: 1.332 MB / 0.7435 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005012/0.6994, allocations: 201.5 kB / 0.7436 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01596/0.7154, allocations: 8.418 MB / 0.7519 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.7154, allocations: 16 kB / 0.7519 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.95e-05/0.7155, allocations: 32 kB / 0.7519 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/0.7155, allocations: 7.969 kB / 0.7519 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02379/0.7393, allocations: 12.83 MB / 0.7644 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.7394, allocations: 8.125 kB / 0.7645 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006493/0.74, allocations: 171.7 kB / 0.7646 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01298/0.753, allocations: 4.483 MB / 0.769 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/0.7532, allocations: 40 kB / 0.769 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04187/0.7951, allocations: 30.45 MB / 0.7988 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.7952, allocations: 15.94 kB / 0.7988 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01581/0.811, allocations: 8.631 MB / 0.8072 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/0.8127, allocations: 0.6157 MB / 0.8078 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005644/0.8133, allocations: 43.98 kB / 0.8079 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/0.8153, allocations: 131.8 kB / 0.808 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000863/0.8162, allocations: 176.9 kB / 0.8082 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/0.8164, allocations: 48 kB / 0.8082 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00163/0.818, allocations: 0.947 MB / 0.8091 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.818, allocations: 4 kB / 0.8091 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003788/0.8218, allocations: 1.113 MB / 0.8102 GB, free: 0 / 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13,(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01619/0.838, allocations: 10.98 MB / 0.8209 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.2707/1.109, allocations: 6.399 MB / 0.8272 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.109, allocations: 0.9062 kB / 0.8272 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.009276/1.118, allocations: 4.284 MB / 0.8314 GB, free: 205 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/1.121, allocations: 469.4 kB / 0.8318 GB, free: 205 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0443/1.165, allocations: 36.04 MB / 0.867 GB, free: 187 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002497/1.167, allocations: 2.789 MB / 0.8697 GB, free: 186.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001159/1.169, allocations: 388.3 kB / 0.8701 GB, free: 186.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009789/1.17, allocations: 1.216 MB / 0.8713 GB, free: 186.1 MB / 0.6387 GB Notification: Performance of SimCode: time 1.433e-06/1.17, allocations: 4 kB / 0.8713 GB, free: 186.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1272/1.297, allocations: 78.64 MB / 0.9481 GB, free: 115.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001303/1.297, allocations: 232.8 kB / 0.9483 GB, free: 115.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.875/4.172, allocations: 0 / 0.9483 GB, free: 115.4 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) Environment - environmentSimulation: