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.001539/0.001539, allocations: 104.2 kB / 16.4 MB, free: 6.516 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.001726/0.001726, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7699/0.7699, allocations: 125.3 MB / 416.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 64.61 kB / 0.5716 GB, free: 27.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.135, allocations: 78.57 MB / 0.6484 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01781/0.1529, allocations: 14.75 MB / 0.6628 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01633/0.1693, allocations: 10.35 MB / 0.6729 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.1705, allocations: 55.62 kB / 0.6729 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004446/0.175, allocations: 1.695 MB / 0.6746 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005096/0.1802, allocations: 1.812 MB / 0.6764 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.182, allocations: 0.7548 MB / 0.6771 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003922/0.1859, allocations: 2.758 MB / 0.6798 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001991/0.1879, allocations: 1.415 MB / 0.6812 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.1902, allocations: 1.496 MB / 0.6826 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001826/0.192, allocations: 1.171 MB / 0.6838 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002506/0.1923, allocations: 160 kB / 0.6839 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.1938, allocations: 0.7838 MB / 0.6847 GB, free: 296 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006149/0.1944, allocations: 0.6037 MB / 0.6853 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009971/0.1954, allocations: 0.9561 MB / 0.6862 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003238/0.1987, allocations: 2.775 MB / 0.6889 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1987, allocations: 0 / 0.6889 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1987, allocations: 0 / 0.6889 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.304e-05/0.1987, allocations: 0 / 0.6889 GB, free: 11.94 MB / 0.5294 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.003694/0.2024, allocations: 2.242 MB / 0.6911 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2025, allocations: 8.031 kB / 0.6911 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002333/0.2027, allocations: 198.4 kB / 0.6913 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0114/0.2141, allocations: 2.11 MB / 0.6934 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.2167, allocations: 1.316 MB / 0.6947 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.2168, allocations: 86.69 kB / 0.6947 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/0.217, allocations: 123.9 kB / 0.6949 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005795/0.2228, allocations: 2.67 MB / 0.6975 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/0.2229, allocations: 7.922 kB / 0.6975 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/0.2231, allocations: 55.98 kB / 0.6975 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00065/0.2237, allocations: 194.1 kB / 0.6977 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00767/0.2314, allocations: 2.791 MB / 0.7004 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01461/0.246, allocations: 10.48 MB / 0.7107 GB, free: 4.793 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006676/0.2527, allocations: 2.336 MB / 0.713 GB, free: 2.426 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00316/0.2559, allocations: 1.284 MB / 0.7142 GB, free: 1.141 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.477e-05/0.256, allocations: 9 kB / 0.7142 GB, free: 1.133 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.256, allocations: 43.5 kB / 0.7143 GB, free: 1.082 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.875e-06/0.2561, allocations: 4 kB / 0.7143 GB, free: 1.078 MB / 0.545 GB Notification: Performance of matching and sorting (n=153): time 0.06037/0.3164, allocations: 16.53 MB / 0.7304 GB, free: 404 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.3165, allocations: 64.72 kB / 0.7305 GB, free: 324 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.3181, allocations: 1.172 MB / 0.7316 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002292/0.3184, allocations: 53.64 kB / 0.7317 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006008/0.319, allocations: 0.7568 MB / 0.7324 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005346/0.3195, allocations: 0.5383 MB / 0.7329 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005827/0.3201, allocations: 295.5 kB / 0.7332 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3202, allocations: 309.1 kB / 0.7335 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003681/0.3239, allocations: 1.503 MB / 0.735 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003854/0.3278, allocations: 1.78 MB / 0.7367 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007518/0.3353, allocations: 3.365 MB / 0.74 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.3354, allocations: 0 / 0.74 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01354/0.3489, allocations: 5.297 MB / 0.7452 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.3489, allocations: 8 kB / 0.7452 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.349, allocations: 8 kB / 0.7452 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.27/0.619, allocations: 1.873 MB / 0.747 GB, free: 90.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/0.6211, allocations: 416.8 kB / 0.7474 GB, free: 90.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02793/0.6491, allocations: 24.16 MB / 0.771 GB, free: 74.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.6518, allocations: 306.4 kB / 0.7713 GB, free: 74.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/0.652, allocations: 67.66 kB / 0.7714 GB, free: 74.27 MB / 0.5762 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.0007773/0.6528, allocations: 473.3 kB / 0.7718 GB, free: 73.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/0.6531, allocations: 185.3 kB / 0.772 GB, free: 73.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/0.6657, allocations: 5.315 MB / 0.7772 GB, free: 72.15 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.6658, allocations: 14.72 kB / 0.7772 GB, free: 72.15 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.695e-05/0.6658, allocations: 22.69 kB / 0.7772 GB, free: 72.15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.6659, allocations: 7.312 kB / 0.7772 GB, free: 72.15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/0.6808, allocations: 7.416 MB / 0.7845 GB, free: 68.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.6808, allocations: 8 kB / 0.7845 GB, free: 68.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/0.6825, allocations: 351.8 kB / 0.7848 GB, free: 68.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005479/0.6879, allocations: 1.707 MB / 0.7865 GB, free: 67.53 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002667/0.6882, allocations: 47.2 kB / 0.7865 GB, free: 67.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02091/0.7092, allocations: 23.32 MB / 0.8093 GB, free: 45.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.7092, allocations: 12 kB / 0.8093 GB, free: 45.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/0.7197, allocations: 4.899 MB / 0.8141 GB, free: 40.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007352/0.7205, allocations: 0.4918 MB / 0.8146 GB, free: 39.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/0.7207, allocations: 31.95 kB / 0.8146 GB, free: 39.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/0.7227, allocations: 319.5 kB / 0.8149 GB, free: 39.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004328/0.7232, allocations: 145 kB / 0.815 GB, free: 39.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.7233, allocations: 55.97 kB / 0.8151 GB, free: 39.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007718/0.7241, allocations: 0.7937 MB / 0.8159 GB, free: 38.38 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7241, allocations: 0 / 0.8159 GB, free: 38.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001663/0.7258, allocations: 0.6562 MB / 0.8165 GB, free: 37.73 MB / 0.5762 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.01049/0.7363, allocations: 5.483 MB / 0.8219 GB, free: 32.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009768/0.7461, allocations: 5.161 MB / 0.8269 GB, free: 26.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.517e-06/0.7461, allocations: 4.125 kB / 0.8269 GB, free: 26.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005969/0.7521, allocations: 3.363 MB / 0.8302 GB, free: 23.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.7542, allocations: 0.5491 MB / 0.8307 GB, free: 22.92 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0387/0.793, allocations: 21.92 MB / 0.8521 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/0.7944, allocations: 1.568 MB / 0.8537 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001522/0.796, allocations: 387.8 kB / 0.854 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009626/0.7969, allocations: 0.6554 MB / 0.8547 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/0.7969, allocations: 0 / 0.8547 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6639/1.461, allocations: 58.73 MB / 0.912 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.88/21.35, allocations: 0 / 0.912 GB, free: 3.816 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)