Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_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.0007162/0.0007163, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004657/0.004657, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.294/1.294, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002038, allocations: 274.7 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9391/0.9391, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006641/0.0006641, allocations: 13.47 kB / 0.5988 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1556, allocations: 88.55 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007264/0.163, allocations: 6.364 MB / 0.6915 GB, free: 8.562 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004841/0.1678, allocations: 3.038 MB / 0.6944 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006099/0.1685, allocations: 24.59 kB / 0.6944 GB, free: 5.504 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004544/0.1689, allocations: 134.9 kB / 0.6946 GB, free: 5.371 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.1702, allocations: 478.2 kB / 0.695 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.1713, allocations: 404.2 kB / 0.6954 GB, free: 4.516 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.1727, allocations: 1.597 MB / 0.697 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.1743, allocations: 1.002 MB / 0.698 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004541/0.1748, allocations: 402.3 kB / 0.6983 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005358/0.1753, allocations: 498 kB / 0.6988 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.747e-05/0.1754, allocations: 36 kB / 0.6988 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006568/0.176, allocations: 439.1 kB / 0.6993 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.1763, allocations: 279.1 kB / 0.6995 GB, free: 280 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003426/0.1766, allocations: 431.4 kB / 0.6999 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009561/0.1776, allocations: 1.187 MB / 0.7011 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1776, allocations: 0 / 0.7011 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1776, allocations: 0 / 0.7011 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.1776, allocations: 0 / 0.7011 GB, free: 14.65 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001462/0.1791, allocations: 1.013 MB / 0.7021 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1791, allocations: 8.031 kB / 0.7021 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.1793, allocations: 122.7 kB / 0.7022 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.1807, allocations: 239.6 kB / 0.7024 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006902/0.1814, allocations: 0.5531 MB / 0.703 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.1815, allocations: 49.61 kB / 0.703 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.856e-05/0.1816, allocations: 68.36 kB / 0.7031 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.1829, allocations: 1.077 MB / 0.7041 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.1829, allocations: 11.94 kB / 0.7042 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.25e-05/0.183, allocations: 35.98 kB / 0.7042 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001319/0.1831, allocations: 81.25 kB / 0.7043 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.1842, allocations: 0.7504 MB / 0.705 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004312/0.1885, allocations: 5.905 MB / 0.7108 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008516/0.1893, allocations: 0.5554 MB / 0.7113 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.1897, allocations: 332.9 kB / 0.7116 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.1898, allocations: 8.375 kB / 0.7116 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.1898, allocations: 39 kB / 0.7117 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 1.473e-06/0.1898, allocations: 4 kB / 0.7117 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.003373/0.1932, allocations: 1.994 MB / 0.7136 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.1932, allocations: 59.84 kB / 0.7137 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005144/0.1938, allocations: 0.5548 MB / 0.7142 GB, free: 452 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.1938, allocations: 33.7 kB / 0.7143 GB, free: 412 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.194, allocations: 419.1 kB / 0.7147 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.1941, allocations: 169.6 kB / 0.7148 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/0.1942, allocations: 57.69 kB / 0.7149 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.1944, allocations: 386.6 kB / 0.7152 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.1947, allocations: 277.8 kB / 0.7155 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.1952, allocations: 489 kB / 0.716 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008926/0.1961, allocations: 0.8054 MB / 0.7168 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1961, allocations: 0 / 0.7168 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001583/0.1977, allocations: 1.094 MB / 0.7178 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1977, allocations: 8 kB / 0.7178 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.1977, allocations: 8 kB / 0.7178 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007522/0.1985, allocations: 287.8 kB / 0.7181 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/0.1989, allocations: 123.8 kB / 0.7182 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005288/0.2042, allocations: 6.606 MB / 0.7247 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004699/0.2047, allocations: 39.95 kB / 0.7247 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.2048, allocations: 28.19 kB / 0.7248 GB, free: 4.867 MB / 0.5137 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.000282/0.2051, allocations: 250.8 kB / 0.725 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.462e-05/0.2052, allocations: 75.25 kB / 0.7251 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.2066, allocations: 0.8964 MB / 0.7259 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.2066, allocations: 8 kB / 0.7259 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.2066, allocations: 4 kB / 0.726 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2066, allocations: 3.984 kB / 0.726 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.2088, allocations: 1.728 MB / 0.7276 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2089, allocations: 0 / 0.7276 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.2091, allocations: 63.89 kB / 0.7277 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006719/0.2098, allocations: 271.2 kB / 0.728 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.2098, allocations: 12 kB / 0.728 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005172/0.215, allocations: 6.579 MB / 0.7344 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.215, allocations: 4.031 kB / 0.7344 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.2163, allocations: 0.9873 MB / 0.7354 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.2166, allocations: 196.1 kB / 0.7356 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.49e-05/0.2166, allocations: 15.94 kB / 0.7356 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/0.217, allocations: 31.97 kB / 0.7356 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/0.2171, allocations: 35.94 kB / 0.7356 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.2171, allocations: 16 kB / 0.7356 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003614/0.2175, allocations: 391.1 kB / 0.736 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2175, allocations: 4 kB / 0.736 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006716/0.2182, allocations: 224 kB / 0.7362 GB, free: 8.375 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,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.001572/0.2197, allocations: 1.548 MB / 0.7378 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001663/0.2214, allocations: 1.275 MB / 0.739 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2214, allocations: 4 kB / 0.739 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.2225, allocations: 0.8896 MB / 0.7399 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.2236, allocations: 201 kB / 0.7401 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007581/0.2311, allocations: 6.876 MB / 0.7468 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.2317, allocations: 1.013 MB / 0.7478 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003681/0.2321, allocations: 130 kB / 0.7479 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.2323, allocations: 247.4 kB / 0.7481 GB, free: 11.68 MB / 0.545 GB Notification: Performance of SimCode: time 2.164e-06/0.2323, allocations: 0 / 0.7481 GB, free: 11.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4283/0.6606, allocations: 16.46 MB / 0.7642 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.6608, allocations: 264.8 kB / 0.7645 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.692, allocations: 0 / 0.7645 GB, free: 11.32 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)