Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.758/1.758, allocations: 288.2 MB / 303.2 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001622/0.001622, allocations: 186.2 kB / 371.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.4 MB / 0.6305 GB, free: 10.06 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000903/0.0009029, allocations: 98.73 kB / 0.7439 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006101/0.0006103, allocations: 10.81 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2439, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02827/0.2723, allocations: 30.65 MB / 1.009 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01864/0.291, allocations: 11.05 MB / 1.02 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003903/0.295, allocations: 127.2 kB / 1.02 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003093/0.2981, allocations: 0.6949 MB / 1.021 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006807/0.3049, allocations: 1.328 MB / 1.022 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006157/0.3111, allocations: 1.459 MB / 1.024 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009242/0.3204, allocations: 3.87 MB / 1.028 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02319/0.3437, allocations: 12.55 MB / 1.04 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004943/0.3487, allocations: 2.293 MB / 1.042 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004949/0.3536, allocations: 2.371 MB / 1.044 GB, free: 9.039 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001559/0.3552, allocations: 328 kB / 1.045 GB, free: 8.719 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.3592, allocations: 0.8232 MB / 1.045 GB, free: 7.895 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003281/0.3625, allocations: 2.249 MB / 1.048 GB, free: 5.641 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002337/0.3649, allocations: 1.104 MB / 1.049 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.3777, allocations: 9.783 MB / 1.058 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.3778, allocations: 0 / 1.058 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.397e-06/0.3778, allocations: 0 / 1.058 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004628/0.3783, allocations: 0 / 1.058 GB, free: 10.72 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01409/0.3924, allocations: 4.68 MB / 1.063 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.3925, allocations: 8.031 kB / 1.063 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003024/0.3955, allocations: 0.8049 MB / 1.064 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00625/0.4018, allocations: 1.031 MB / 1.065 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007646/0.4094, allocations: 3.192 MB / 1.068 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003428/0.4098, allocations: 415.1 kB / 1.068 GB, free: 460 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.5494/0.9592, allocations: 0.5337 MB / 1.069 GB, free: 79.33 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03013/0.9894, allocations: 8.987 MB / 1.077 GB, free: 76.06 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002825/0.9897, allocations: 28.61 kB / 1.077 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001462/0.9912, allocations: 235.4 kB / 1.078 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007207/0.9919, allocations: 349.3 kB / 1.078 GB, free: 75.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02003/1.012, allocations: 6.787 MB / 1.085 GB, free: 73.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05281/1.065, allocations: 40.19 MB / 1.124 GB, free: 38.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004167/1.069, allocations: 3.104 MB / 1.127 GB, free: 36.51 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/1.069, allocations: 17.28 kB / 1.127 GB, free: 36.51 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/1.069, allocations: 50.75 kB / 1.127 GB, free: 36.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=179): time 4.458e-06/1.069, allocations: 0 / 1.127 GB, free: 36.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=182): time 0.02707/1.096, allocations: 9.861 MB / 1.137 GB, free: 30.85 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/1.097, allocations: 70.31 kB / 1.137 GB, free: 30.79 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00301/1.1, allocations: 1.512 MB / 1.138 GB, free: 29.91 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002327/1.1, allocations: 57.08 kB / 1.138 GB, free: 29.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/1.101, allocations: 2.255 MB / 1.14 GB, free: 27.88 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006098/1.102, allocations: 0.6268 MB / 1.141 GB, free: 27.34 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/1.102, allocations: 44.94 kB / 1.141 GB, free: 27.31 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.102, allocations: 392 kB / 1.141 GB, free: 26.95 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/1.104, allocations: 1.174 MB / 1.143 GB, free: 26.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/1.106, allocations: 1.872 MB / 1.144 GB, free: 24.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/1.108, allocations: 1.507 MB / 1.146 GB, free: 23.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/1.108, allocations: 7.938 kB / 1.146 GB, free: 23.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007238/1.115, allocations: 4.557 MB / 1.15 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/1.115, allocations: 20.03 kB / 1.15 GB, free: 21.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.155e-05/1.115, allocations: 20 kB / 1.15 GB, free: 21.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003397/1.119, allocations: 1.585 MB / 1.152 GB, free: 19.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/1.12, allocations: 355.3 kB / 1.152 GB, free: 19.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01931/1.139, allocations: 17.68 MB / 1.17 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/1.142, allocations: 120.3 kB / 1.17 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004232/1.142, allocations: 96 kB / 1.17 GB, free: 0.9492 MB / 0.6823 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 (177): * Single equations (assignments): 173 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005996/1.148, allocations: 1.898 MB / 1.172 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/1.15, allocations: 221.4 kB / 1.172 GB, free: 14.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009086/1.159, allocations: 4.079 MB / 1.176 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/1.159, allocations: 16 kB / 1.176 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-05/1.159, allocations: 23.98 kB / 1.176 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/1.159, allocations: 7.969 kB / 1.176 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01987/1.179, allocations: 9.444 MB / 1.185 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/1.179, allocations: 4 kB / 1.185 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000804/1.18, allocations: 180.3 kB / 1.185 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003335/1.183, allocations: 1.357 MB / 1.187 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/1.183, allocations: 36 kB / 1.187 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02152/1.205, allocations: 16.55 MB / 1.203 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.205, allocations: 4 kB / 1.203 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007576/1.212, allocations: 4.346 MB / 1.207 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001769/1.214, allocations: 0.5333 MB / 1.208 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003828/1.214, allocations: 36 kB / 1.208 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009578/1.215, allocations: 91.89 kB / 1.208 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004931/1.216, allocations: 157.7 kB / 1.208 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.216, allocations: 48 kB / 1.208 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001673/1.218, allocations: 0.989 MB / 1.209 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.21e-07/1.218, allocations: 4 kB / 1.209 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004794/1.223, allocations: 0.9844 MB / 1.21 GB, free: 6.875 MB / 0.7292 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 (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007887/1.23, allocations: 6.096 MB / 1.216 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007752/1.238, allocations: 4.291 MB / 1.22 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/1.238, allocations: 4 kB / 1.22 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.004842/1.243, allocations: 2.67 MB / 1.223 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00367/1.247, allocations: 0.675 MB / 1.223 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05002/1.297, allocations: 37.86 MB / 1.26 GB, free: 1.574 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004963/1.302, allocations: 3.664 MB / 1.264 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.00177/1.304, allocations: 455.9 kB / 1.264 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002126/1.306, allocations: 1.796 MB / 1.266 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of SimCode: time 2.615e-06/1.306, allocations: 0 / 1.266 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1219/1.428, allocations: 70.51 MB / 1.335 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/1.428, allocations: 236.4 kB / 1.335 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.932/5.36, allocations: 4 kB / 1.335 GB, free: 5.461 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)