Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001339/0.00134, allocations: 106.6 kB / 15.98 MB, free: 6.355 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.001438/0.001438, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.292/1.292, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.684/0.684, allocations: 115.3 MB / 406.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.91 kB / 493.2 MB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3245, allocations: 76.17 MB / 0.556 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02662/0.3511, allocations: 30.48 MB / 0.5858 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01727/0.3684, allocations: 13.45 MB / 0.5989 GB, free: 6.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003262/0.3717, allocations: 131 kB / 0.5991 GB, free: 6.293 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007125/0.3789, allocations: 2.984 MB / 0.602 GB, free: 4.043 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006992/0.3859, allocations: 2.453 MB / 0.6044 GB, free: 2.113 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004316/0.3902, allocations: 1.842 MB / 0.6062 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008342/0.3986, allocations: 7.645 MB / 0.6136 GB, free: 9.703 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01265/0.4113, allocations: 9.945 MB / 0.6233 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004888/0.4162, allocations: 3.458 MB / 0.6267 GB, free: 12.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004739/0.4209, allocations: 3.539 MB / 0.6302 GB, free: 8.625 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001345/0.4223, allocations: 0.5938 MB / 0.6308 GB, free: 8.031 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.4257, allocations: 1.498 MB / 0.6322 GB, free: 6.531 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002954/0.4287, allocations: 2.366 MB / 0.6345 GB, free: 4.16 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003882/0.4326, allocations: 2.882 MB / 0.6373 GB, free: 1.266 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008841/0.4415, allocations: 9.476 MB / 0.6466 GB, free: 7.762 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4415, allocations: 0 / 0.6466 GB, free: 7.762 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4415, allocations: 8 kB / 0.6466 GB, free: 7.754 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002133/0.4417, allocations: 0 / 0.6466 GB, free: 7.754 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.009578/0.4513, allocations: 5.128 MB / 0.6516 GB, free: 2.547 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4514, allocations: 8.031 kB / 0.6516 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008272/0.4522, allocations: 0.6319 MB / 0.6522 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005492/0.4577, allocations: 0.9941 MB / 0.6532 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005894/0.4636, allocations: 2.892 MB / 0.656 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002892/0.4639, allocations: 316.8 kB / 0.6563 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001291/0.4652, allocations: 423.8 kB / 0.6567 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/0.4776, allocations: 6.788 MB / 0.6634 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000145/0.4778, allocations: 19.78 kB / 0.6634 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008065/0.4786, allocations: 184 kB / 0.6636 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008479/0.4795, allocations: 368 kB / 0.6639 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009399/0.4889, allocations: 5.114 MB / 0.6689 GB, free: 428 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03526/0.5242, allocations: 30.74 MB / 0.6989 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.5262, allocations: 1.393 MB / 0.7003 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.528, allocations: 1.328 MB / 0.7016 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.5282, allocations: 17.3 kB / 0.7016 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.5282, allocations: 55.75 kB / 0.7017 GB, free: 12.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=130): time 4.608e-06/0.5282, allocations: 0 / 0.7017 GB, free: 12.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=199): time 0.08081/0.6091, allocations: 23.07 MB / 0.7242 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.6091, allocations: 73.41 kB / 0.7243 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/0.6122, allocations: 2.055 MB / 0.7263 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000218/0.6124, allocations: 61.7 kB / 0.7263 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00133/0.6137, allocations: 2.018 MB / 0.7283 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007042/0.6145, allocations: 0.6854 MB / 0.729 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008392/0.6153, allocations: 408.2 kB / 0.7294 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6154, allocations: 305.1 kB / 0.7296 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/0.6175, allocations: 1.433 MB / 0.731 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002733/0.6203, allocations: 2.01 MB / 0.733 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004865/0.6251, allocations: 3.688 MB / 0.7366 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/0.6252, allocations: 12 kB / 0.7366 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01089/0.6361, allocations: 5.657 MB / 0.7421 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.6361, allocations: 16.03 kB / 0.7422 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/0.6362, allocations: 20 kB / 0.7422 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2709/0.9071, allocations: 2.089 MB / 0.7442 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.9089, allocations: 377.4 kB / 0.7446 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03633/0.9453, allocations: 38.45 MB / 0.7821 GB, free: 127 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/0.9477, allocations: 131.4 kB / 0.7823 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003368/0.9481, allocations: 93.36 kB / 0.7823 GB, free: 126.9 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002608/0.9507, allocations: 1.509 MB / 0.7838 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005929/0.9513, allocations: 285.5 kB / 0.7841 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/0.9618, allocations: 5.214 MB / 0.7892 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.9618, allocations: 19.12 kB / 0.7892 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.621e-05/0.9619, allocations: 16.97 kB / 0.7892 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.321e-05/0.9619, allocations: 14.8 kB / 0.7892 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/0.9792, allocations: 9.673 MB / 0.7987 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.9793, allocations: 9.656 kB / 0.7987 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008258/0.9801, allocations: 218.3 kB / 0.7989 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005339/0.9854, allocations: 1.857 MB / 0.8007 GB, free: 119.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/0.9857, allocations: 38.91 kB / 0.8007 GB, free: 119.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02648/1.012, allocations: 37.47 MB / 0.8373 GB, free: 85.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.012, allocations: 7.938 kB / 0.8373 GB, free: 85.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007226/1.019, allocations: 4.92 MB / 0.8421 GB, free: 80.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.021, allocations: 0.6157 MB / 0.8427 GB, free: 79.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003375/1.021, allocations: 47.89 kB / 0.8428 GB, free: 79.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/1.022, allocations: 127.8 kB / 0.8429 GB, free: 79.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005893/1.023, allocations: 194.6 kB / 0.8431 GB, free: 79.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/1.023, allocations: 55.94 kB / 0.8432 GB, free: 79.13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001442/1.024, allocations: 1.382 MB / 0.8445 GB, free: 77.74 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.024, allocations: 0 / 0.8445 GB, free: 77.74 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003142/1.028, allocations: 1.047 MB / 0.8455 GB, free: 76.7 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007126/1.035, allocations: 5.525 MB / 0.8509 GB, free: 71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009838/1.045, allocations: 7.215 MB / 0.858 GB, free: 63.58 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/1.045, allocations: 0 / 0.858 GB, free: 63.58 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005207/1.05, allocations: 4.4 MB / 0.8623 GB, free: 58.97 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003756/1.054, allocations: 0.9923 MB / 0.8632 GB, free: 58.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04442/1.098, allocations: 35.96 MB / 0.8983 GB, free: 19.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002376/1.1, allocations: 3.123 MB / 0.9014 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001615/1.102, allocations: 0.5121 MB / 0.9019 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/1.103, allocations: 1.671 MB / 0.9035 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/1.103, allocations: 0 / 0.9035 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4034/1.507, allocations: 89.56 MB / 0.991 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/1.507, allocations: 238.3 kB / 0.9912 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.754/5.261, allocations: 2.875 kB / 0.9912 GB, free: 203.6 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)