Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.264/1.264, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 173.7 kB / 325.8 MB, free: 2.727 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008007/0.0008006, allocations: 92.78 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.0002772, allocations: 11.84 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1532, allocations: 105.4 MB / 0.8962 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01427/0.1674, allocations: 19.7 MB / 0.9155 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00763/0.1751, allocations: 6.5 MB / 0.9218 GB, free: 41.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.1766, allocations: 71.62 kB / 0.9219 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003989/0.1806, allocations: 2.087 MB / 0.9239 GB, free: 39.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.1828, allocations: 1.108 MB / 0.925 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.1851, allocations: 1.161 MB / 0.9261 GB, free: 37.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004268/0.1893, allocations: 6.968 MB / 0.9329 GB, free: 30.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00599/0.1953, allocations: 6.132 MB / 0.9389 GB, free: 24.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.1972, allocations: 1.533 MB / 0.9404 GB, free: 22.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/0.1994, allocations: 2.028 MB / 0.9424 GB, free: 20.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0005159/0.1999, allocations: 180 kB / 0.9426 GB, free: 20.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.2016, allocations: 0.9124 MB / 0.9435 GB, free: 19.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.2027, allocations: 1.352 MB / 0.9448 GB, free: 18.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001692/0.2044, allocations: 1.543 MB / 0.9463 GB, free: 16.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003892/0.2083, allocations: 6.206 MB / 0.9523 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2083, allocations: 0 / 0.9523 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2084, allocations: 0 / 0.9523 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001686/0.2085, allocations: 0 / 0.9523 GB, free: 10.44 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.004235/0.2128, allocations: 2.82 MB / 0.9551 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2128, allocations: 8.031 kB / 0.9551 GB, free: 7.551 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004404/0.2133, allocations: 458.5 kB / 0.9555 GB, free: 7.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002613/0.2159, allocations: 0.641 MB / 0.9562 GB, free: 6.445 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.2182, allocations: 1.94 MB / 0.9581 GB, free: 4.445 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.495e-05/0.2183, allocations: 222.3 kB / 0.9583 GB, free: 4.227 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000314/0.2187, allocations: 300 kB / 0.9586 GB, free: 3.934 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005856/0.2245, allocations: 4.89 MB / 0.9633 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.678e-05/0.2246, allocations: 15.94 kB / 0.9633 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002735/0.2249, allocations: 128 kB / 0.9635 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003774/0.2253, allocations: 225.7 kB / 0.9637 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005576/0.2309, allocations: 3.75 MB / 0.9673 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.019/0.2499, allocations: 21.63 MB / 0.9885 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.2514, allocations: 1.3 MB / 0.9897 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.2527, allocations: 1.045 MB / 0.9908 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.285e-05/0.2527, allocations: 13 kB / 0.9908 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.2528, allocations: 43.56 kB / 0.9908 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=107): time 2.755e-06/0.2528, allocations: 0 / 0.9908 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of matching and sorting (n=138): time 0.02218/0.275, allocations: 8.711 MB / 0.9993 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.275, allocations: 72.66 kB / 0.9994 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.2764, allocations: 1.126 MB / 1 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.2765, allocations: 49.7 kB / 1.001 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000763/0.2773, allocations: 1.304 MB / 1.002 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003525/0.2777, allocations: 477.1 kB / 1.002 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.2778, allocations: 129.6 kB / 1.002 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.2779, allocations: 313 kB / 1.003 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.2791, allocations: 0.9135 MB / 1.004 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.2805, allocations: 1.326 MB / 1.005 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.2833, allocations: 2.426 MB / 1.007 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.2834, allocations: 4 kB / 1.007 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005629/0.289, allocations: 3.468 MB / 1.011 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.289, allocations: 18.48 kB / 1.011 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.2891, allocations: 12 kB / 1.011 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003047/0.2921, allocations: 1.177 MB / 1.012 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008381/0.293, allocations: 259.5 kB / 1.012 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01471/0.3077, allocations: 12.76 MB / 1.025 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.309, allocations: 87.97 kB / 1.025 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.3091, allocations: 64 kB / 1.025 GB, free: 13.12 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001669/0.3108, allocations: 1.114 MB / 1.026 GB, free: 12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.311, allocations: 162.1 kB / 1.026 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005242/0.3163, allocations: 3.181 MB / 1.029 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.3163, allocations: 12 kB / 1.029 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.3163, allocations: 12 kB / 1.029 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.3163, allocations: 11.91 kB / 1.029 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009218/0.3256, allocations: 6.241 MB / 1.035 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.3256, allocations: 4 kB / 1.035 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005417/0.3262, allocations: 155.8 kB / 1.035 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002782/0.3289, allocations: 1.063 MB / 1.036 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.028e-05/0.329, allocations: 28 kB / 1.036 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/0.3433, allocations: 12.46 MB / 1.049 GB, free: 4.105 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.3433, allocations: 8 kB / 1.049 GB, free: 4.098 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004932/0.3483, allocations: 3.15 MB / 1.052 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007468/0.349, allocations: 423.1 kB / 1.052 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.3492, allocations: 32 kB / 1.052 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007049/0.3499, allocations: 83.83 kB / 1.052 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/0.3503, allocations: 120.7 kB / 1.052 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.222e-05/0.3503, allocations: 47.94 kB / 1.052 GB, free: 160 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.3432/0.6935, allocations: 0.7601 MB / 1.053 GB, free: 141.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.51e-07/0.6936, allocations: 0 / 1.053 GB, free: 141.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002354/0.6959, allocations: 0.6604 MB / 1.054 GB, free: 141.8 MB / 0.698 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004682/0.7006, allocations: 3.745 MB / 1.057 GB, free: 141 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005015/0.7056, allocations: 3.129 MB / 1.06 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.7057, allocations: 3.438 kB / 1.06 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002963/0.7086, allocations: 1.966 MB / 1.062 GB, free: 140 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002814/0.7115, allocations: 477.7 kB / 1.063 GB, free: 140 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0342/0.7457, allocations: 21.35 MB / 1.084 GB, free: 130.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002882/0.7486, allocations: 2.344 MB / 1.086 GB, free: 129.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001063/0.7497, allocations: 350.8 kB / 1.086 GB, free: 129.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007886/0.7505, allocations: 1.01 MB / 1.087 GB, free: 128.6 MB / 0.698 GB Notification: Performance of SimCode: time 8.32e-07/0.7505, allocations: 0 / 1.087 GB, free: 128.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2346/0.9851, allocations: 49.36 MB / 1.135 GB, free: 84.32 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.9853, allocations: 264.7 kB / 1.136 GB, free: 84.02 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.167/4.152, allocations: 0 / 1.136 GB, free: 84.02 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)