Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001143/0.001143, allocations: 102.5 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.001206/0.001207, allocations: 196 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.21/1.21, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6595/0.6595, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 65.19 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1339, allocations: 76.17 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03525/0.1692, allocations: 35.1 MB / 0.6659 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01519/0.1844, allocations: 9.952 MB / 0.6756 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002596/0.1871, allocations: 147.3 kB / 0.6757 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.007994/0.1951, allocations: 3.807 MB / 0.6795 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004951/0.2, allocations: 2.146 MB / 0.6816 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004296/0.2044, allocations: 1.962 MB / 0.6835 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008282/0.2127, allocations: 7.986 MB / 0.6913 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01032/0.223, allocations: 9.518 MB / 0.7006 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004667/0.2277, allocations: 3.424 MB / 0.7039 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004836/0.2325, allocations: 3.734 MB / 0.7076 GB, free: 6.793 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001132/0.2337, allocations: 0.6797 MB / 0.7082 GB, free: 6.113 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/0.2364, allocations: 1.447 MB / 0.7096 GB, free: 4.664 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002322/0.2387, allocations: 2.616 MB / 0.7122 GB, free: 2.043 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003461/0.2422, allocations: 3.104 MB / 0.7152 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.2522, allocations: 10.39 MB / 0.7254 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.2523, allocations: 0 / 0.7254 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2523, allocations: 0 / 0.7254 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003321/0.2526, allocations: 0 / 0.7254 GB, free: 4.512 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01149/0.2641, allocations: 5.405 MB / 0.7306 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.2642, allocations: 12.03 kB / 0.7306 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00101/0.2652, allocations: 0.7023 MB / 0.7313 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004252/0.2694, allocations: 0.9626 MB / 0.7323 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005176/0.2746, allocations: 3.174 MB / 0.7354 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.2749, allocations: 357.9 kB / 0.7357 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006784/0.2755, allocations: 472.2 kB / 0.7362 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.2869, allocations: 7.906 MB / 0.7439 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/0.287, allocations: 23.81 kB / 0.7439 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000436/0.2875, allocations: 208 kB / 0.7441 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004269/0.2879, allocations: 373.1 kB / 0.7445 GB, free: 444 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2873/0.5752, allocations: 5.934 MB / 0.7503 GB, free: 97.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0277/0.603, allocations: 35.95 MB / 0.7854 GB, free: 66.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.6055, allocations: 2.143 MB / 0.7875 GB, free: 65.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.6069, allocations: 1.473 MB / 0.7889 GB, free: 65.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-05/0.607, allocations: 17.66 kB / 0.7889 GB, free: 65.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.607, allocations: 59.73 kB / 0.789 GB, free: 65.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=157): time 3.116e-06/0.607, allocations: 0 / 0.789 GB, free: 65.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=160): time 0.01006/0.6171, allocations: 7.538 MB / 0.7963 GB, free: 60.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.6171, allocations: 75.06 kB / 0.7964 GB, free: 60.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.6188, allocations: 1.862 MB / 0.7982 GB, free: 58.94 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.006e-05/0.6189, allocations: 55.02 kB / 0.7983 GB, free: 58.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006898/0.6196, allocations: 2.122 MB / 0.8003 GB, free: 56.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.6198, allocations: 0.5618 MB / 0.8009 GB, free: 56.19 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004442/0.6203, allocations: 399.8 kB / 0.8013 GB, free: 55.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.061e-05/0.6203, allocations: 305.1 kB / 0.8016 GB, free: 55.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.6215, allocations: 1.058 MB / 0.8026 GB, free: 54.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.6228, allocations: 1.76 MB / 0.8043 GB, free: 52.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.6253, allocations: 3.052 MB / 0.8073 GB, free: 48.97 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.6253, allocations: 4 kB / 0.8073 GB, free: 48.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.004456/0.6298, allocations: 3.926 MB / 0.8111 GB, free: 45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.6298, allocations: 19.94 kB / 0.8112 GB, free: 44.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.6298, allocations: 24 kB / 0.8112 GB, free: 44.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/0.6318, allocations: 0.9349 MB / 0.8121 GB, free: 43.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.633, allocations: 431.2 kB / 0.8125 GB, free: 43.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/0.646, allocations: 22.76 MB / 0.8347 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.6477, allocations: 119.9 kB / 0.8349 GB, free: 19.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.6478, allocations: 92 kB / 0.8349 GB, free: 18.94 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.001951/0.6498, allocations: 1.649 MB / 0.8366 GB, free: 17.28 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/0.6501, allocations: 253.1 kB / 0.8368 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004003/0.6541, allocations: 3.267 MB / 0.84 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.6542, allocations: 12 kB / 0.84 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.6542, allocations: 12 kB / 0.84 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.6542, allocations: 7.969 kB / 0.84 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008579/0.6628, allocations: 7.554 MB / 0.8474 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.6628, allocations: 4 kB / 0.8474 GB, free: 6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007547/0.6636, allocations: 216.2 kB / 0.8476 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/0.6654, allocations: 0.8881 MB / 0.8485 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-05/0.6655, allocations: 39.98 kB / 0.8485 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01892/0.6845, allocations: 22.73 MB / 0.8707 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/0.6845, allocations: 12.59 kB / 0.8707 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005514/0.69, allocations: 3.371 MB / 0.874 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009845/0.691, allocations: 0.537 MB / 0.8745 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/0.6913, allocations: 32 kB / 0.8746 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009084/0.6922, allocations: 87.89 kB / 0.8746 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003396/0.6926, allocations: 144.9 kB / 0.8748 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.6927, allocations: 48 kB / 0.8748 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001515/0.6942, allocations: 1.228 MB / 0.876 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6942, allocations: 0 / 0.876 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002399/0.6966, allocations: 0.9062 MB / 0.8769 GB, free: 5.934 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004909/0.7015, allocations: 3.989 MB / 0.8808 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005766/0.7073, allocations: 4.426 MB / 0.8851 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.7073, allocations: 256 / 0.8851 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003753/0.7111, allocations: 2.998 MB / 0.8881 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/0.7138, allocations: 0.8128 MB / 0.8888 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03532/0.7492, allocations: 25.04 MB / 0.9133 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004426/0.7536, allocations: 3.211 MB / 0.9164 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001786/0.7554, allocations: 0.5215 MB / 0.9169 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002154/0.7576, allocations: 1.651 MB / 0.9186 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of SimCode: time 1.122e-06/0.7576, allocations: 0 / 0.9186 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1312/0.8889, allocations: 70.24 MB / 0.9872 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.51, allocations: 10.42 kB / 0.9872 GB, free: 4.391 MB / 0.7169 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)