Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.000937/0.000937, allocations: 93.5 kB / 16.02 MB, free: 84 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.0009003/0.0009004, allocations: 182.9 kB / 16.92 MB, free: 6.914 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.317/1.317, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.668/0.668, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003128, allocations: 8 kB / 496 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1455, allocations: 77.53 MB / 0.5601 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01517/0.1607, allocations: 14.11 MB / 0.5738 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0164/0.1772, allocations: 10.24 MB / 0.5838 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.1787, allocations: 51.62 kB / 0.5839 GB, free: 476 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.1799, allocations: 294 kB / 0.5842 GB, free: 180 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3009/0.4809, allocations: 1.589 MB / 0.5857 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.4829, allocations: 0.6899 MB / 0.5864 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005368/0.4882, allocations: 3.41 MB / 0.5897 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00346/0.4917, allocations: 1.983 MB / 0.5917 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/0.4942, allocations: 1.329 MB / 0.5929 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.4959, allocations: 1.083 MB / 0.594 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.4961, allocations: 69.38 kB / 0.5941 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.4979, allocations: 0.8593 MB / 0.5949 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006033/0.4985, allocations: 0.5043 MB / 0.5954 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000978/0.4995, allocations: 0.8568 MB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003346/0.5028, allocations: 2.681 MB / 0.5989 GB, free: 11.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5028, allocations: 0 / 0.5989 GB, free: 11.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5029, allocations: 0 / 0.5989 GB, free: 11.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.253e-05/0.5029, allocations: 0.7188 kB / 0.5989 GB, free: 11.92 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003642/0.5065, allocations: 1.838 MB / 0.6007 GB, free: 10.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.5066, allocations: 9.312 kB / 0.6007 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002514/0.5069, allocations: 191.9 kB / 0.6008 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/0.5184, allocations: 2.168 MB / 0.603 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.5206, allocations: 1.218 MB / 0.6042 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.5207, allocations: 85.41 kB / 0.6042 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002495/0.5209, allocations: 119.4 kB / 0.6043 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005384/0.5263, allocations: 2.696 MB / 0.607 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/0.5264, allocations: 7.625 kB / 0.607 GB, free: 9.113 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.5265, allocations: 56.31 kB / 0.607 GB, free: 9.113 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006173/0.5271, allocations: 192.2 kB / 0.6072 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007309/0.5345, allocations: 2.843 MB / 0.61 GB, free: 7.641 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01235/0.5468, allocations: 10.56 MB / 0.6203 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006429/0.5533, allocations: 2.389 MB / 0.6226 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002974/0.5563, allocations: 1.303 MB / 0.6239 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.446e-05/0.5564, allocations: 8.5 kB / 0.6239 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.5564, allocations: 48.47 kB / 0.624 GB, free: 12.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 2.354e-06/0.5564, allocations: 4 kB / 0.624 GB, free: 12.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=153): time 0.05773/0.6141, allocations: 16.54 MB / 0.6401 GB, free: 13.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.6142, allocations: 64.72 kB / 0.6402 GB, free: 13.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.6157, allocations: 1.172 MB / 0.6413 GB, free: 12.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.6159, allocations: 57.64 kB / 0.6414 GB, free: 12.58 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005094/0.6164, allocations: 0.7484 MB / 0.6421 GB, free: 11.83 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004701/0.6169, allocations: 0.5145 MB / 0.6426 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.6171, allocations: 121.7 kB / 0.6427 GB, free: 11.19 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.6172, allocations: 305.1 kB / 0.643 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003513/0.6207, allocations: 1.53 MB / 0.6445 GB, free: 9.359 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00375/0.6245, allocations: 1.801 MB / 0.6463 GB, free: 7.465 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007497/0.632, allocations: 3.406 MB / 0.6496 GB, free: 3.965 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/0.632, allocations: 4 kB / 0.6496 GB, free: 3.961 MB / 478.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01349/0.6455, allocations: 5.32 MB / 0.6548 GB, free: 14.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.6456, allocations: 8 kB / 0.6548 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.6456, allocations: 8 kB / 0.6548 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006727/0.6523, allocations: 1.89 MB / 0.6567 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.6543, allocations: 423.3 kB / 0.6571 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02639/0.6807, allocations: 22.2 MB / 0.6788 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002961/0.6837, allocations: 319.6 kB / 0.6791 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003153/0.684, allocations: 67.91 kB / 0.6791 GB, free: 4.648 MB / 0.4981 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001115/0.6852, allocations: 466 kB / 0.6796 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004756/0.6856, allocations: 173.9 kB / 0.6797 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/0.6995, allocations: 5.359 MB / 0.685 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.6996, allocations: 16 kB / 0.685 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.642e-05/0.6996, allocations: 16 kB / 0.685 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.6996, allocations: 11.91 kB / 0.685 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/0.7162, allocations: 7.459 MB / 0.6923 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.7162, allocations: 4 kB / 0.6923 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/0.7179, allocations: 363.6 kB / 0.6926 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005871/0.7238, allocations: 1.707 MB / 0.6943 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/0.724, allocations: 51.88 kB / 0.6944 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0249/0.7489, allocations: 21.38 MB / 0.7152 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.7489, allocations: 4 kB / 0.7152 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/0.7612, allocations: 4.925 MB / 0.7201 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.7623, allocations: 0.4908 MB / 0.7205 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004562/0.7627, allocations: 28 kB / 0.7206 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002433/0.7652, allocations: 323.5 kB / 0.7209 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004968/0.7657, allocations: 157 kB / 0.721 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.7658, allocations: 51.97 kB / 0.7211 GB, free: 8.359 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001166/0.767, allocations: 0.7899 MB / 0.7218 GB, free: 7.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.767, allocations: 0 / 0.7218 GB, free: 7.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002228/0.7692, allocations: 0.6562 MB / 0.7225 GB, free: 6.914 MB / 0.545 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01241/0.7817, allocations: 5.521 MB / 0.7279 GB, free: 1.297 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01123/0.7929, allocations: 5.167 MB / 0.7329 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.7929, allocations: 0 / 0.7329 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006801/0.7997, allocations: 3.378 MB / 0.7362 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/0.8029, allocations: 0.5105 MB / 0.7367 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04871/0.8516, allocations: 23.77 MB / 0.7599 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/0.853, allocations: 1.568 MB / 0.7615 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001643/0.8547, allocations: 386.4 kB / 0.7618 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008949/0.8556, allocations: 0.6554 MB / 0.7625 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.8556, allocations: 7.875 kB / 0.7625 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08092/0.9366, allocations: 55.54 MB / 0.8167 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.9368, allocations: 247.8 kB / 0.8169 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.817/3.754, allocations: 2.75 kB / 0.8169 GB, free: 5.762 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)