Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_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.001199/0.001199, allocations: 102.2 kB / 16.4 MB, free: 6.508 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.001213/0.001213, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.747/0.747, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 61.77 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1359, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01597/0.1519, allocations: 14.02 MB / 0.6453 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01379/0.1657, allocations: 9.396 MB / 0.6545 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.1673, allocations: 59.62 kB / 0.6545 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004342/0.1717, allocations: 1.667 MB / 0.6561 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004994/0.1767, allocations: 1.547 MB / 0.6577 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.1791, allocations: 0.7574 MB / 0.6584 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003739/0.1829, allocations: 2.516 MB / 0.6608 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.185, allocations: 1.408 MB / 0.6622 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.1868, allocations: 1.071 MB / 0.6633 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002096/0.1889, allocations: 1.148 MB / 0.6644 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004879/0.1894, allocations: 168 kB / 0.6645 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.1912, allocations: 0.7838 MB / 0.6653 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007805/0.192, allocations: 0.6232 MB / 0.6659 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.1933, allocations: 0.9406 MB / 0.6668 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003372/0.1967, allocations: 2.761 MB / 0.6695 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1967, allocations: 0 / 0.6695 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1968, allocations: 0 / 0.6695 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.547e-05/0.1968, allocations: 0 / 0.6695 GB, free: 13.91 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004398/0.2012, allocations: 2.135 MB / 0.6716 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2013, allocations: 12.03 kB / 0.6716 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002312/0.2015, allocations: 198.4 kB / 0.6718 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/0.213, allocations: 2.077 MB / 0.6739 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/0.2157, allocations: 1.302 MB / 0.6751 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/0.2158, allocations: 90.73 kB / 0.6752 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002313/0.216, allocations: 119.9 kB / 0.6753 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005543/0.2216, allocations: 2.671 MB / 0.6779 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/0.2216, allocations: 8 kB / 0.6779 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.2218, allocations: 59.92 kB / 0.678 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006186/0.2224, allocations: 182.1 kB / 0.6782 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00766/0.2301, allocations: 2.795 MB / 0.6809 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.2444, allocations: 10.47 MB / 0.6911 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007059/0.2514, allocations: 2.538 MB / 0.6936 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00322/0.2547, allocations: 1.28 MB / 0.6949 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.7e-05/0.2548, allocations: 12.94 kB / 0.6949 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.2548, allocations: 43.56 kB / 0.6949 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=89): time 2.735e-06/0.2548, allocations: 8 kB / 0.6949 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of matching and sorting (n=131): time 0.04779/0.3026, allocations: 13.34 MB / 0.7079 GB, free: 5.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3027, allocations: 64.72 kB / 0.708 GB, free: 5.336 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.3042, allocations: 1.125 MB / 0.7091 GB, free: 4.195 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.3043, allocations: 49.7 kB / 0.7091 GB, free: 4.141 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004892/0.3048, allocations: 0.7117 MB / 0.7098 GB, free: 3.422 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004051/0.3052, allocations: 457.4 kB / 0.7103 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005166/0.3057, allocations: 263.4 kB / 0.7105 GB, free: 2.703 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3059, allocations: 365.9 kB / 0.7109 GB, free: 2.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003505/0.3094, allocations: 1.339 MB / 0.7122 GB, free: 1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003639/0.313, allocations: 1.6 MB / 0.7138 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007253/0.3203, allocations: 2.994 MB / 0.7167 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3203, allocations: 0 / 0.7167 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01192/0.3323, allocations: 4.443 MB / 0.721 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.3323, allocations: 12.16 kB / 0.721 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.3323, allocations: 4 kB / 0.721 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005382/0.3377, allocations: 1.435 MB / 0.7224 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/0.3399, allocations: 435.2 kB / 0.7228 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02789/0.3678, allocations: 26.67 MB / 0.7489 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/0.3705, allocations: 311.5 kB / 0.7492 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002721/0.3708, allocations: 67.95 kB / 0.7493 GB, free: 8.918 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009525/0.3718, allocations: 438.1 kB / 0.7497 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004866/0.3723, allocations: 158.1 kB / 0.7498 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/0.3845, allocations: 4.453 MB / 0.7542 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.3845, allocations: 12 kB / 0.7542 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.589e-05/0.3845, allocations: 12 kB / 0.7542 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.3846, allocations: 11.97 kB / 0.7542 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3437/0.7283, allocations: 6.764 MB / 0.7608 GB, free: 115.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.7283, allocations: 1.562 kB / 0.7608 GB, free: 115.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001891/0.7302, allocations: 381.4 kB / 0.7612 GB, free: 115.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004653/0.7349, allocations: 1.316 MB / 0.7625 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/0.735, allocations: 41.64 kB / 0.7625 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02146/0.7565, allocations: 25.49 MB / 0.7874 GB, free: 94.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.7565, allocations: 3.875 kB / 0.7874 GB, free: 94.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/0.7667, allocations: 4.202 MB / 0.7915 GB, free: 93.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009828/0.7677, allocations: 464.3 kB / 0.7919 GB, free: 93.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/0.7679, allocations: 27.86 kB / 0.792 GB, free: 93.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/0.77, allocations: 302.8 kB / 0.7923 GB, free: 93.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004441/0.7704, allocations: 128.8 kB / 0.7924 GB, free: 93.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.7705, allocations: 50.3 kB / 0.7924 GB, free: 93.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009044/0.7715, allocations: 0.7575 MB / 0.7932 GB, free: 92.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7715, allocations: 0 / 0.7932 GB, free: 92.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001766/0.7732, allocations: 0.5689 MB / 0.7937 GB, free: 92.87 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009769/0.783, allocations: 4.787 MB / 0.7984 GB, free: 90.85 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009777/0.7928, allocations: 5.128 MB / 0.8034 GB, free: 87.58 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.7928, allocations: 0 / 0.8034 GB, free: 87.58 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006232/0.7991, allocations: 3.501 MB / 0.8068 GB, free: 85.03 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/0.8013, allocations: 0.5503 MB / 0.8074 GB, free: 84.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03505/0.8364, allocations: 19.35 MB / 0.8263 GB, free: 64.92 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008675/0.8373, allocations: 1.484 MB / 0.8277 GB, free: 63.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001371/0.8387, allocations: 424.8 kB / 0.8281 GB, free: 63 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007112/0.8394, allocations: 0.632 MB / 0.8287 GB, free: 62.37 MB / 0.5919 GB Notification: Performance of SimCode: time 7.02e-07/0.8394, allocations: 0 / 0.8287 GB, free: 62.37 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1242/0.9636, allocations: 52.74 MB / 0.8802 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.73/18.69, allocations: 13.34 kB / 0.8802 GB, free: 10.23 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)