Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_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.001008/0.001008, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001073/0.001073, allocations: 200 kB / 16.14 MB, free: 6.664 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.265/1.265, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001951/0.001951, allocations: 290.3 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9094/0.9094, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 95.97 kB / 0.5946 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1393, allocations: 86.98 MB / 0.6796 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01384/0.1532, allocations: 13.96 MB / 0.6932 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.1651, allocations: 9.376 MB / 0.7023 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000944/0.166, allocations: 55.62 kB / 0.7024 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003405/0.1695, allocations: 1.563 MB / 0.7039 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003219/0.1727, allocations: 1.403 MB / 0.7053 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.1742, allocations: 0.6897 MB / 0.706 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002995/0.1772, allocations: 3.179 MB / 0.7091 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.1789, allocations: 1.352 MB / 0.7104 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.1801, allocations: 0.9299 MB / 0.7113 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.1813, allocations: 1.14 MB / 0.7124 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.1815, allocations: 100 kB / 0.7125 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.1829, allocations: 0.8851 MB / 0.7134 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004678/0.1834, allocations: 0.5529 MB / 0.7139 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000764/0.1841, allocations: 0.8781 MB / 0.7148 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002184/0.1863, allocations: 2.725 MB / 0.7174 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1864, allocations: 4 kB / 0.7174 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 7.31e-07/0.1864, allocations: 0 / 0.7174 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.1864, allocations: 0 / 0.7174 GB, free: 10.12 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.003424/0.1898, allocations: 2.131 MB / 0.7195 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1899, allocations: 8.031 kB / 0.7195 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002179/0.1901, allocations: 194.4 kB / 0.7197 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/0.2004, allocations: 2.085 MB / 0.7217 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.2027, allocations: 1.201 MB / 0.7229 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.027e-05/0.2028, allocations: 94.72 kB / 0.723 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.203, allocations: 131.8 kB / 0.7231 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005064/0.2081, allocations: 2.675 MB / 0.7257 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.2081, allocations: 4 kB / 0.7257 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/0.2083, allocations: 51.98 kB / 0.7258 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005551/0.2089, allocations: 186.1 kB / 0.726 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00656/0.2154, allocations: 2.799 MB / 0.7287 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.2282, allocations: 10.5 MB / 0.739 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005915/0.2342, allocations: 2.531 MB / 0.7414 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002761/0.2369, allocations: 1.295 MB / 0.7427 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-05/0.237, allocations: 9 kB / 0.7427 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.2371, allocations: 51.48 kB / 0.7428 GB, free: 15.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.414e-06/0.2371, allocations: 0 / 0.7428 GB, free: 15.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=131): time 0.04138/0.2784, allocations: 13.35 MB / 0.7558 GB, free: 1.684 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.2785, allocations: 68.72 kB / 0.7559 GB, free: 1.605 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.2798, allocations: 1.113 MB / 0.7569 GB, free: 488 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.2799, allocations: 45.7 kB / 0.757 GB, free: 436 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004564/0.2804, allocations: 0.7194 MB / 0.7577 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/0.2808, allocations: 453.4 kB / 0.7581 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004708/0.2813, allocations: 263.4 kB / 0.7584 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2814, allocations: 365.9 kB / 0.7587 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002981/0.2844, allocations: 1.335 MB / 0.76 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003121/0.2875, allocations: 1.608 MB / 0.7616 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006139/0.2937, allocations: 2.994 MB / 0.7645 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.2937, allocations: 4 kB / 0.7645 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0108/0.3045, allocations: 4.442 MB / 0.7689 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.3045, allocations: 6.344 kB / 0.7689 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3045, allocations: 8 kB / 0.7689 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005256/0.3098, allocations: 1.436 MB / 0.7703 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/0.3118, allocations: 439.2 kB / 0.7707 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2978/0.6096, allocations: 24.54 MB / 0.7947 GB, free: 72.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/0.6121, allocations: 304.7 kB / 0.7949 GB, free: 72.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.6122, allocations: 64.5 kB / 0.795 GB, free: 72.82 MB / 0.5606 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.0008666/0.6131, allocations: 439 kB / 0.7954 GB, free: 72.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/0.6134, allocations: 166.3 kB / 0.7956 GB, free: 72.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.6237, allocations: 4.449 MB / 0.7999 GB, free: 71.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.6237, allocations: 14.56 kB / 0.7999 GB, free: 71.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.207e-05/0.6238, allocations: 14.81 kB / 0.8 GB, free: 71.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.6238, allocations: 7.594 kB / 0.8 GB, free: 71.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.6362, allocations: 6.764 MB / 0.8066 GB, free: 68.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.6362, allocations: 10.06 kB / 0.8066 GB, free: 68.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/0.6378, allocations: 380.9 kB / 0.8069 GB, free: 68.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004679/0.6425, allocations: 1.306 MB / 0.8082 GB, free: 68.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/0.6426, allocations: 40.88 kB / 0.8083 GB, free: 68.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01822/0.6609, allocations: 23.51 MB / 0.8312 GB, free: 47.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.6609, allocations: 2.859 kB / 0.8312 GB, free: 47.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009005/0.6699, allocations: 4.205 MB / 0.8353 GB, free: 44.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007633/0.6707, allocations: 461.1 kB / 0.8358 GB, free: 44.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002295/0.671, allocations: 27.89 kB / 0.8358 GB, free: 44.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/0.6727, allocations: 305.2 kB / 0.8361 GB, free: 44.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004113/0.6731, allocations: 124 kB / 0.8362 GB, free: 44.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.6732, allocations: 51.06 kB / 0.8362 GB, free: 44.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007756/0.674, allocations: 0.7553 MB / 0.837 GB, free: 43.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.674, allocations: 0 / 0.837 GB, free: 43.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001757/0.6758, allocations: 0.5737 MB / 0.8375 GB, free: 43.7 MB / 0.5606 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.008682/0.6845, allocations: 4.796 MB / 0.8422 GB, free: 40.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008507/0.693, allocations: 5.124 MB / 0.8472 GB, free: 36.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.693, allocations: 4 kB / 0.8472 GB, free: 36.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005312/0.6983, allocations: 3.484 MB / 0.8506 GB, free: 32.42 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/0.7008, allocations: 0.5098 MB / 0.8511 GB, free: 31.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03576/0.7366, allocations: 20.92 MB / 0.8716 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/0.7377, allocations: 1.48 MB / 0.873 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001649/0.7393, allocations: 421.7 kB / 0.8734 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007881/0.7401, allocations: 0.632 MB / 0.874 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.7401, allocations: 4 kB / 0.874 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07361/0.8138, allocations: 49.88 MB / 0.9227 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.814, allocations: 253.4 kB / 0.923 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.723/3.537, allocations: 0 / 0.923 GB, free: 6.348 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)