Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.001087/0.001087, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001209/0.001209, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 222.1 MB, free: 5.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.938/1.938, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005536/0.0005536, allocations: 15.72 kB / 0.6738 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2653, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03182/0.2971, allocations: 30.22 MB / 0.8169 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02501/0.3222, allocations: 14.02 MB / 0.8306 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004702/0.3269, allocations: 135.2 kB / 0.8307 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003704/0.3307, allocations: 0.7014 MB / 0.8314 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009338/0.34, allocations: 2.405 MB / 0.8338 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005728/0.3458, allocations: 1.387 MB / 0.8351 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01399/0.3598, allocations: 9.775 MB / 0.8447 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01909/0.3789, allocations: 9.855 MB / 0.8543 GB, free: 7.121 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006576/0.3856, allocations: 2.954 MB / 0.8572 GB, free: 4.156 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006349/0.3919, allocations: 3.398 MB / 0.8605 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001501/0.3935, allocations: 296 kB / 0.8608 GB, free: 468 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003376/0.3969, allocations: 0.8077 MB / 0.8616 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003547/0.4004, allocations: 2.276 MB / 0.8638 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002704/0.4032, allocations: 1.132 MB / 0.8649 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.4146, allocations: 9.163 MB / 0.8738 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.4147, allocations: 0 / 0.8738 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.767e-06/0.4147, allocations: 0 / 0.8738 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004157/0.4151, allocations: 0 / 0.8738 GB, free: 3.039 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01359/0.4287, allocations: 4.896 MB / 0.8786 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.4288, allocations: 8.031 kB / 0.8786 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002809/0.4316, allocations: 0.7269 MB / 0.8793 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008797/0.4404, allocations: 1.145 MB / 0.8805 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00856/0.449, allocations: 3.232 MB / 0.8836 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004553/0.4495, allocations: 374 kB / 0.884 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002212/0.4518, allocations: 499.8 kB / 0.8844 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01879/0.4706, allocations: 7.966 MB / 0.8922 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002255/0.4708, allocations: 31.72 kB / 0.8923 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001303/0.4722, allocations: 219.9 kB / 0.8925 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001057/0.4732, allocations: 441.6 kB / 0.8929 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01266/0.4859, allocations: 6.049 MB / 0.8988 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5158/1.002, allocations: 35.2 MB / 0.9332 GB, free: 107.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002691/1.004, allocations: 2.028 MB / 0.9351 GB, free: 107.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/1.007, allocations: 1.846 MB / 0.937 GB, free: 107.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/1.007, allocations: 25.33 kB / 0.937 GB, free: 107.9 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/1.007, allocations: 55.48 kB / 0.937 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 3.317e-06/1.007, allocations: 0 / 0.937 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1275/1.135, allocations: 38.98 MB / 0.9751 GB, free: 94.49 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/1.135, allocations: 85.53 kB / 0.9752 GB, free: 94.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00293/1.138, allocations: 2.251 MB / 0.9774 GB, free: 92.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003945/1.138, allocations: 73.7 kB / 0.9774 GB, free: 92.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001194/1.139, allocations: 2.27 MB / 0.9797 GB, free: 89.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008383/1.14, allocations: 0.9421 MB / 0.9806 GB, free: 88.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/1.14, allocations: 60 kB / 0.9806 GB, free: 88.76 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001794/1.14, allocations: 431.9 kB / 0.9811 GB, free: 88.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00237/1.143, allocations: 1.962 MB / 0.983 GB, free: 86.37 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002679/1.145, allocations: 2.587 MB / 0.9855 GB, free: 83.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/1.148, allocations: 2.376 MB / 0.9878 GB, free: 81.15 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/1.148, allocations: 4 kB / 0.9878 GB, free: 81.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01189/1.16, allocations: 7.714 MB / 0.9954 GB, free: 73.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/1.16, allocations: 16.25 kB / 0.9954 GB, free: 73.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/1.16, allocations: 16 kB / 0.9954 GB, free: 73.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007702/1.168, allocations: 3.216 MB / 0.9985 GB, free: 70.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/1.169, allocations: 399.4 kB / 0.9989 GB, free: 69.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03325/1.203, allocations: 31.1 MB / 1.029 GB, free: 37.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/1.206, allocations: 163.8 kB / 1.029 GB, free: 37.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002914/1.206, allocations: 108 kB / 1.03 GB, free: 37.56 MB / 0.7325 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003632/1.21, allocations: 1.794 MB / 1.031 GB, free: 35.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008254/1.211, allocations: 336 kB / 1.032 GB, free: 35.42 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/1.222, allocations: 7.326 MB / 1.039 GB, free: 28.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/1.223, allocations: 31.94 kB / 1.039 GB, free: 27.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.216e-05/1.223, allocations: 28 kB / 1.039 GB, free: 27.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.856e-05/1.223, allocations: 19.94 kB / 1.039 GB, free: 27.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0188/1.241, allocations: 12.9 MB / 1.051 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/1.241, allocations: 8.844 kB / 1.051 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008483/1.242, allocations: 229.1 kB / 1.052 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006916/1.249, allocations: 2.848 MB / 1.054 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003021/1.25, allocations: 55.98 kB / 1.054 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03646/1.286, allocations: 29.92 MB / 1.084 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/1.286, allocations: 11.94 kB / 1.084 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01312/1.299, allocations: 6.852 MB / 1.09 GB, free: 5.969 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/1.301, allocations: 0.7821 MB / 1.091 GB, free: 5.164 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004822/1.302, allocations: 55.98 kB / 1.091 GB, free: 5.109 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/1.303, allocations: 171.7 kB / 1.091 GB, free: 4.941 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008205/1.304, allocations: 253.5 kB / 1.092 GB, free: 4.695 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/1.304, allocations: 72 kB / 1.092 GB, free: 4.625 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00229/1.307, allocations: 1.506 MB / 1.093 GB, free: 3.117 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.2e-07/1.307, allocations: 3.656 kB / 1.093 GB, free: 3.117 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004183/1.311, allocations: 1.375 MB / 1.095 GB, free: 1.742 MB / 0.7637 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01193/1.323, allocations: 7.474 MB / 1.102 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01151/1.334, allocations: 6.913 MB / 1.109 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/1.334, allocations: 0 / 1.109 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.007558/1.342, allocations: 4.421 MB / 1.113 GB, free: 14.54 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005829/1.348, allocations: 1.031 MB / 1.114 GB, free: 13.53 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05928/1.407, allocations: 32.3 MB / 1.145 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005456/1.413, allocations: 3.636 MB / 1.149 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002724/1.415, allocations: 0.5556 MB / 1.15 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002645/1.418, allocations: 1.968 MB / 1.151 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of SimCode: time 1.442e-06/1.418, allocations: 0 / 1.151 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1666/1.585, allocations: 107.4 MB / 1.256 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/1.585, allocations: 231 kB / 1.257 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.753/6.338, allocations: 0 / 1.257 GB, free: 11.13 MB / 0.9356 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) Environment - environmentSimulation: