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.001293/0.001293, allocations: 104.4 kB / 15.98 MB, free: 6.332 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.001292/0.001292, allocations: 200 kB / 16.91 MB, free: 6.18 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.294/1.294, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6823/0.6823, allocations: 115.3 MB / 406.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.91 kB / 493.2 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3328, allocations: 76.17 MB / 0.556 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01889/0.3517, allocations: 22.39 MB / 0.5779 GB, free: 20.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0086/0.3603, allocations: 6.19 MB / 0.5839 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001871/0.3622, allocations: 81.09 kB / 0.584 GB, free: 16.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0036/0.3659, allocations: 1.413 MB / 0.5854 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003678/0.3696, allocations: 1.515 MB / 0.5869 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003033/0.3726, allocations: 1.227 MB / 0.5881 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007294/0.3799, allocations: 5.964 MB / 0.5939 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009058/0.389, allocations: 7.251 MB / 0.601 GB, free: 6.488 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/0.3922, allocations: 2.457 MB / 0.6034 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/0.3946, allocations: 3.034 MB / 0.6064 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004183/0.395, allocations: 456 kB / 0.6068 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.3967, allocations: 1.104 MB / 0.6079 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001627/0.3984, allocations: 2.031 MB / 0.6098 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001943/0.4003, allocations: 2.167 MB / 0.612 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005668/0.406, allocations: 7.311 MB / 0.6191 GB, free: 3.883 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.406, allocations: 4 kB / 0.6191 GB, free: 3.879 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.406, allocations: 0 / 0.6191 GB, free: 3.879 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.241e-05/0.4061, allocations: 0 / 0.6191 GB, free: 3.879 MB / 462.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.005799/0.4119, allocations: 3.809 MB / 0.6228 GB, free: 8 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.412, allocations: 12.08 kB / 0.6228 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005627/0.4126, allocations: 0.5014 MB / 0.6233 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005461/0.418, allocations: 1.217 MB / 0.6245 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/0.4214, allocations: 2.219 MB / 0.6267 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.4215, allocations: 234.4 kB / 0.6269 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004808/0.422, allocations: 319.8 kB / 0.6272 GB, free: 11.44 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.4321, allocations: 6.209 MB / 0.6333 GB, free: 4.977 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.03e-05/0.4322, allocations: 19.88 kB / 0.6333 GB, free: 4.957 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003882/0.4326, allocations: 135.9 kB / 0.6334 GB, free: 4.824 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004573/0.4331, allocations: 414.3 kB / 0.6338 GB, free: 4.418 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00794/0.441, allocations: 4.662 MB / 0.6384 GB, free: 15.74 MB / 494.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.02876/0.4698, allocations: 29.13 MB / 0.6668 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.4717, allocations: 1.412 MB / 0.6682 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.4735, allocations: 1.5 MB / 0.6697 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.4736, allocations: 12.98 kB / 0.6697 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.4737, allocations: 55.5 kB / 0.6697 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=110): time 3.186e-06/0.4737, allocations: 0 / 0.6697 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=179): time 0.1304/0.6041, allocations: 37.22 MB / 0.7061 GB, free: 7.609 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.6042, allocations: 73.34 kB / 0.7061 GB, free: 7.527 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/0.6061, allocations: 1.415 MB / 0.7075 GB, free: 6.105 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002804/0.6063, allocations: 61.7 kB / 0.7076 GB, free: 6.039 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008596/0.6072, allocations: 1.535 MB / 0.7091 GB, free: 4.484 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006247/0.6079, allocations: 0.6084 MB / 0.7097 GB, free: 3.867 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007551/0.6086, allocations: 383.3 kB / 0.71 GB, free: 3.484 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.6087, allocations: 305.1 kB / 0.7103 GB, free: 3.184 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/0.6111, allocations: 1.788 MB / 0.7121 GB, free: 1.391 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002788/0.6139, allocations: 2.35 MB / 0.7144 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005537/0.6194, allocations: 4.391 MB / 0.7187 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.6195, allocations: 4 kB / 0.7187 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01731/0.6368, allocations: 8.566 MB / 0.727 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.6368, allocations: 12 kB / 0.727 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.842e-05/0.6369, allocations: 20.84 kB / 0.7271 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01397/0.6508, allocations: 4.665 MB / 0.7316 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.652, allocations: 311.4 kB / 0.7319 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.309/0.961, allocations: 32.61 MB / 0.7638 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/0.9632, allocations: 150.3 kB / 0.7639 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002845/0.9635, allocations: 86.34 kB / 0.764 GB, free: 145.1 MB / 0.5762 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.002076/0.9656, allocations: 1.331 MB / 0.7653 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004033/0.966, allocations: 200.9 kB / 0.7655 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01602/0.982, allocations: 8.436 MB / 0.7737 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.9821, allocations: 18.16 kB / 0.7737 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.273e-05/0.9822, allocations: 24.03 kB / 0.7737 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.327e-05/0.9822, allocations: 12.62 kB / 0.7738 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02173/1.004, allocations: 12.85 MB / 0.7863 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/1.004, allocations: 3.719 kB / 0.7863 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006337/1.005, allocations: 166.9 kB / 0.7865 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01205/1.017, allocations: 4.521 MB / 0.7909 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/1.017, allocations: 41.67 kB / 0.7909 GB, free: 135.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03512/1.052, allocations: 32.22 MB / 0.8224 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.052, allocations: 15.88 kB / 0.8224 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01312/1.065, allocations: 8.229 MB / 0.8304 GB, free: 97.04 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/1.066, allocations: 0.622 MB / 0.831 GB, free: 96.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/1.067, allocations: 36 kB / 0.8311 GB, free: 96.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/1.068, allocations: 135.8 kB / 0.8312 GB, free: 96.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007337/1.069, allocations: 172.9 kB / 0.8314 GB, free: 96.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.069, allocations: 49.31 kB / 0.8314 GB, free: 96.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009978/1.07, allocations: 0.9627 MB / 0.8324 GB, free: 95.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/1.07, allocations: 0 / 0.8324 GB, free: 95.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00278/1.073, allocations: 1.117 MB / 0.8335 GB, free: 93.95 MB / 0.5762 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.01312/1.086, allocations: 8.831 MB / 0.8421 GB, free: 84.99 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01086/1.097, allocations: 7.089 MB / 0.849 GB, free: 77.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.097, allocations: 0 / 0.849 GB, free: 77.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007042/1.104, allocations: 4.356 MB / 0.8533 GB, free: 73.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/1.106, allocations: 0.5256 MB / 0.8538 GB, free: 72.95 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04665/1.153, allocations: 36.72 MB / 0.8896 GB, free: 34.53 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/1.155, allocations: 2.729 MB / 0.8923 GB, free: 31.77 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008964/1.156, allocations: 388 kB / 0.8927 GB, free: 31.39 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000915/1.156, allocations: 1.218 MB / 0.8939 GB, free: 30.18 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/1.156, allocations: 0 / 0.8939 GB, free: 30.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/1.287, allocations: 83.28 MB / 0.9752 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/1.287, allocations: 248.9 kB / 0.9754 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.857/4.145, allocations: 4 kB / 0.9754 GB, free: 11.19 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/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)