Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.0009891/0.0009893, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009895/0.0009895, allocations: 198.2 kB / 16.14 MB, free: 6.707 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.196/1.196, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001955/0.001955, allocations: 284.1 kB / 290.2 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8445/0.8445, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001682, allocations: 92.83 kB / 0.5946 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1342, allocations: 86.98 MB / 0.6796 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02194/0.1562, allocations: 22.41 MB / 0.7014 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009228/0.1654, allocations: 6.236 MB / 0.7075 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.1668, allocations: 83.5 kB / 0.7076 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003027/0.1699, allocations: 1.411 MB / 0.709 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002844/0.1727, allocations: 1.541 MB / 0.7105 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.1752, allocations: 1.228 MB / 0.7117 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007308/0.1825, allocations: 8.86 MB / 0.7203 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008007/0.1905, allocations: 6.731 MB / 0.7269 GB, free: 436 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/0.1936, allocations: 2.055 MB / 0.7289 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003922/0.1975, allocations: 2.96 MB / 0.7318 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005819/0.1981, allocations: 316 kB / 0.7321 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.2002, allocations: 1.135 MB / 0.7332 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.2018, allocations: 1.902 MB / 0.7351 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001881/0.2037, allocations: 2.01 MB / 0.737 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005515/0.2092, allocations: 7.186 MB / 0.7441 GB, free: 14.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2092, allocations: 0 / 0.7441 GB, free: 14.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2092, allocations: 0 / 0.7441 GB, free: 14.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001253/0.2094, allocations: 0 / 0.7441 GB, free: 14.82 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.00578/0.2151, allocations: 3.805 MB / 0.7478 GB, free: 10.95 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2152, allocations: 16.02 kB / 0.7478 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005649/0.2158, allocations: 0.5015 MB / 0.7483 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005264/0.221, allocations: 1.21 MB / 0.7495 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003396/0.2244, allocations: 2.219 MB / 0.7516 GB, free: 6.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.2246, allocations: 246.4 kB / 0.7519 GB, free: 6.688 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004405/0.225, allocations: 319.8 kB / 0.7522 GB, free: 6.375 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008123/0.2332, allocations: 6.216 MB / 0.7582 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.023e-05/0.2333, allocations: 11.78 kB / 0.7582 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003098/0.2336, allocations: 144 kB / 0.7584 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004054/0.234, allocations: 402.3 kB / 0.7588 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006121/0.2401, allocations: 4.658 MB / 0.7633 GB, free: 10.69 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2592/0.4993, allocations: 29.14 MB / 0.7918 GB, free: 70.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.5011, allocations: 1.413 MB / 0.7932 GB, free: 69.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.5027, allocations: 1.489 MB / 0.7946 GB, free: 69.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.975e-05/0.5028, allocations: 10.06 kB / 0.7946 GB, free: 69.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.5028, allocations: 49.27 kB / 0.7947 GB, free: 69.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 2.485e-06/0.5028, allocations: 0 / 0.7947 GB, free: 69.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=179): time 0.114/0.6169, allocations: 37.24 MB / 0.831 GB, free: 50.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.6169, allocations: 69.41 kB / 0.8311 GB, free: 50.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.6183, allocations: 1.423 MB / 0.8325 GB, free: 49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.6184, allocations: 53.7 kB / 0.8325 GB, free: 48.94 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/0.6189, allocations: 1.538 MB / 0.834 GB, free: 47.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.6193, allocations: 0.6151 MB / 0.8346 GB, free: 46.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005809/0.6198, allocations: 379.3 kB / 0.835 GB, free: 46.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.438e-05/0.6199, allocations: 305.1 kB / 0.8353 GB, free: 46.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/0.6216, allocations: 1.784 MB / 0.837 GB, free: 44.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.6236, allocations: 2.346 MB / 0.8393 GB, free: 41.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003974/0.6276, allocations: 4.391 MB / 0.8436 GB, free: 37.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.6276, allocations: 4 kB / 0.8436 GB, free: 37.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01368/0.6413, allocations: 8.567 MB / 0.852 GB, free: 28.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.6413, allocations: 19.59 kB / 0.852 GB, free: 28.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.6414, allocations: 20 kB / 0.852 GB, free: 28.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01201/0.6534, allocations: 4.631 MB / 0.8565 GB, free: 23.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009647/0.6544, allocations: 307.4 kB / 0.8568 GB, free: 23.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03315/0.6875, allocations: 29.67 MB / 0.8858 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.6893, allocations: 147.8 kB / 0.886 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/0.6895, allocations: 91.94 kB / 0.886 GB, free: 8.805 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001884/0.6914, allocations: 1.318 MB / 0.8873 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000362/0.6918, allocations: 197.6 kB / 0.8875 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/0.7078, allocations: 8.445 MB / 0.8958 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.7079, allocations: 20 kB / 0.8958 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-05/0.7079, allocations: 24 kB / 0.8958 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.112e-05/0.7079, allocations: 7.969 kB / 0.8958 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02256/0.7305, allocations: 12.85 MB / 0.9084 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.7305, allocations: 4 kB / 0.9084 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006555/0.7312, allocations: 171.7 kB / 0.9085 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01311/0.7443, allocations: 4.483 MB / 0.9129 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002425/0.7446, allocations: 44 kB / 0.9129 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03836/0.783, allocations: 29.28 MB / 0.9415 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.783, allocations: 4 kB / 0.9415 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/0.7976, allocations: 8.236 MB / 0.9496 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.7987, allocations: 0.6158 MB / 0.9502 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002823/0.799, allocations: 43.94 kB / 0.9502 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.8001, allocations: 131.8 kB / 0.9504 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007151/0.8008, allocations: 176.8 kB / 0.9505 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/0.801, allocations: 48 kB / 0.9506 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001115/0.8021, allocations: 0.9588 MB / 0.9515 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8021, allocations: 0 / 0.9515 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002661/0.8048, allocations: 1.117 MB / 0.9526 GB, free: 3.527 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0148/0.8196, allocations: 8.836 MB / 0.9612 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01074/0.8304, allocations: 6.508 MB / 0.9676 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/0.8304, allocations: 8.125 kB / 0.9676 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007576/0.838, allocations: 4.354 MB / 0.9718 GB, free: 15.55 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.8401, allocations: 499.9 kB / 0.9723 GB, free: 15.08 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05422/0.8944, allocations: 36.74 MB / 1.008 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002432/0.8968, allocations: 2.723 MB / 1.011 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009837/0.8978, allocations: 389.2 kB / 1.011 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/0.899, allocations: 1.218 MB / 1.012 GB, free: 4.277 MB / 0.7012 GB Notification: Performance of SimCode: time 4.2e-07/0.899, allocations: 0 / 1.012 GB, free: 4.277 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.242/6.141, allocations: 80.96 MB / 1.091 GB, free: 229.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/6.142, allocations: 267.4 kB / 1.092 GB, free: 229.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.874/9.015, allocations: 0 / 1.092 GB, free: 229.1 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)