Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",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.001072/0.001072, allocations: 107.1 kB / 16.27 MB, free: 5.93 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.001161/0.001161, allocations: 188.2 kB / 17.2 MB, free: 5.574 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.274/1.274, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7151/0.7151, allocations: 122.8 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.91 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3062, allocations: 77.92 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009832/0.3161, allocations: 10.06 MB / 0.5771 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004731/0.3209, allocations: 3.185 MB / 0.5802 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006931/0.3216, allocations: 36.56 kB / 0.5803 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.3232, allocations: 0.5953 MB / 0.5808 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.3248, allocations: 0.7448 MB / 0.5816 GB, free: 22.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.3264, allocations: 0.7423 MB / 0.5823 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003011/0.3294, allocations: 2.999 MB / 0.5852 GB, free: 20.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002843/0.3323, allocations: 2.599 MB / 0.5878 GB, free: 19.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.334, allocations: 1.243 MB / 0.589 GB, free: 19.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.336, allocations: 1.56 MB / 0.5905 GB, free: 18.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003441/0.3364, allocations: 243.5 kB / 0.5907 GB, free: 18.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000973/0.3374, allocations: 0.4959 MB / 0.5912 GB, free: 17.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008193/0.3382, allocations: 1.073 MB / 0.5923 GB, free: 17.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.3393, allocations: 1.109 MB / 0.5934 GB, free: 16.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002973/0.3423, allocations: 3.661 MB / 0.5969 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3423, allocations: 0 / 0.5969 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3423, allocations: 0 / 0.5969 GB, free: 12.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.353e-05/0.3424, allocations: 0 / 0.5969 GB, free: 12.41 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003267/0.3457, allocations: 2.154 MB / 0.599 GB, free: 10.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3457, allocations: 8.625 kB / 0.599 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002574/0.346, allocations: 261.2 kB / 0.5993 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008212/0.3542, allocations: 1.309 MB / 0.6006 GB, free: 8.609 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.3559, allocations: 1.259 MB / 0.6018 GB, free: 7.305 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.295e-05/0.3559, allocations: 115.4 kB / 0.6019 GB, free: 7.191 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/0.3562, allocations: 156.2 kB / 0.6021 GB, free: 7.039 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00365/0.3599, allocations: 3.429 MB / 0.6054 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.3599, allocations: 7.938 kB / 0.6054 GB, free: 3.504 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/0.3601, allocations: 67.95 kB / 0.6055 GB, free: 3.438 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001682/0.3603, allocations: 207.1 kB / 0.6057 GB, free: 3.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003523/0.3638, allocations: 3.124 MB / 0.6087 GB, free: 108 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01701/0.3808, allocations: 13.6 MB / 0.622 GB, free: 1.617 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/0.3832, allocations: 1.743 MB / 0.6237 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/0.3851, allocations: 1.44 MB / 0.6251 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.632e-05/0.3852, allocations: 12.94 kB / 0.6251 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.3852, allocations: 43.56 kB / 0.6252 GB, free: 14.36 MB / 478.1 MB Notification: Performance of pre-optimization done (n=104): time 2.826e-06/0.3852, allocations: 4 kB / 0.6252 GB, free: 14.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=183): time 0.1461/0.5313, allocations: 36.66 MB / 0.661 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.5314, allocations: 69.41 kB / 0.661 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.5328, allocations: 1.061 MB / 0.6621 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002098/0.533, allocations: 53.7 kB / 0.6621 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005052/0.5336, allocations: 0.7912 MB / 0.6629 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005618/0.5341, allocations: 0.6161 MB / 0.6635 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007373/0.5349, allocations: 363.3 kB / 0.6639 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.535, allocations: 305.1 kB / 0.6641 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002538/0.5375, allocations: 1.936 MB / 0.666 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002795/0.5403, allocations: 2.289 MB / 0.6683 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005488/0.5458, allocations: 4.389 MB / 0.6726 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.006e-06/0.5459, allocations: 4 kB / 0.6726 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01938/0.5652, allocations: 9.014 MB / 0.6814 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.5653, allocations: 19.92 kB / 0.6814 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.5653, allocations: 8 kB / 0.6814 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01692/0.5823, allocations: 5.009 MB / 0.6863 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.5833, allocations: 191.7 kB / 0.6865 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05661/0.64, allocations: 38.92 MB / 0.7245 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/0.6421, allocations: 99.89 kB / 0.7246 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004327/0.6425, allocations: 64 kB / 0.7246 GB, free: 7.418 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00162/0.6442, allocations: 0.819 MB / 0.7254 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004111/0.6446, allocations: 146.2 kB / 0.7256 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01944/0.664, allocations: 8.882 MB / 0.7342 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.6641, allocations: 16 kB / 0.7343 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.927e-05/0.6642, allocations: 32 kB / 0.7343 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.223e-05/0.6642, allocations: 7.969 kB / 0.7343 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02794/0.6922, allocations: 13.31 MB / 0.7473 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.6922, allocations: 7.938 kB / 0.7473 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2174/0.9097, allocations: 115.2 kB / 0.7474 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01739/0.9271, allocations: 4.79 MB / 0.7521 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003014/0.9274, allocations: 35.25 kB / 0.7521 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04453/0.972, allocations: 34.87 MB / 0.7862 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.972, allocations: 3.906 kB / 0.7862 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/0.9874, allocations: 8.402 MB / 0.7944 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009232/0.9883, allocations: 0.6163 MB / 0.795 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002673/0.9886, allocations: 43.23 kB / 0.795 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.9898, allocations: 91.06 kB / 0.7951 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008071/0.9906, allocations: 164.9 kB / 0.7953 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.9908, allocations: 48 kB / 0.7953 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007265/0.9915, allocations: 0.7343 MB / 0.796 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9915, allocations: 0 / 0.796 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002489/0.994, allocations: 1.011 MB / 0.797 GB, free: 130.5 MB / 0.5762 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01828/1.012, allocations: 8.993 MB / 0.8058 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01378/1.026, allocations: 6.692 MB / 0.8123 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.026, allocations: 0 / 0.8123 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009697/1.036, allocations: 3.83 MB / 0.8161 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/1.038, allocations: 235 kB / 0.8163 GB, free: 110.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05913/1.097, allocations: 31.72 MB / 0.8473 GB, free: 78.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/1.099, allocations: 1.855 MB / 0.8491 GB, free: 76.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001015/1.1, allocations: 350.5 kB / 0.8494 GB, free: 75.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008152/1.101, allocations: 0.6086 MB / 0.85 GB, free: 75.25 MB / 0.5762 GB Notification: Performance of SimCode: time 2.014e-06/1.101, allocations: 0 / 0.85 GB, free: 75.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/1.211, allocations: 74.15 MB / 0.9224 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.91, allocations: 6.984 kB / 0.9224 GB, free: 1.441 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)