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_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_N,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 252 MB / 267.3 MB, free: 10.86 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.001027/0.001027, allocations: 185.2 kB / 327 MB, free: 2.102 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.991/1.991, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0009057/0.0009062, allocations: 91.73 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003767, allocations: 8.5 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2381, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0278/0.2659, allocations: 32.06 MB / 0.9322 GB, free: 31.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02019/0.2861, allocations: 14.7 MB / 0.9466 GB, free: 16.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004296/0.2905, allocations: 139.2 kB / 0.9467 GB, free: 16.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003196/0.2937, allocations: 0.7249 MB / 0.9474 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009272/0.303, allocations: 2.686 MB / 0.9501 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006048/0.3091, allocations: 2.001 MB / 0.952 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01192/0.321, allocations: 12.15 MB / 0.9639 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02199/0.343, allocations: 11.5 MB / 0.9751 GB, free: 3.148 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007616/0.3507, allocations: 3.016 MB / 0.978 GB, free: 124 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007657/0.3584, allocations: 3.499 MB / 0.9815 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002195/0.3606, allocations: 295.9 kB / 0.9817 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005529/0.3662, allocations: 1.56 MB / 0.9833 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.004593/0.3708, allocations: 2.283 MB / 0.9855 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.006858/0.3777, allocations: 2.773 MB / 0.9882 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01642/0.3941, allocations: 10.65 MB / 0.9986 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3942, allocations: 4 kB / 0.9986 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.066e-06/0.3942, allocations: 0 / 0.9986 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004849/0.3947, allocations: 0 / 0.9986 GB, free: 10.99 MB / 0.6511 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.015/0.4097, allocations: 4.829 MB / 1.003 GB, free: 6.086 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.887e-05/0.4098, allocations: 12.03 kB / 1.003 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003934/0.4138, allocations: 0.7271 MB / 1.004 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009455/0.4232, allocations: 1.145 MB / 1.005 GB, free: 4.184 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.4338, allocations: 3.325 MB / 1.008 GB, free: 0.7812 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004647/0.4343, allocations: 370.4 kB / 1.009 GB, free: 428 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002174/0.4365, allocations: 0.492 MB / 1.009 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02151/0.4581, allocations: 8.005 MB / 1.017 GB, free: 7.641 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003322/0.4584, allocations: 23.77 kB / 1.017 GB, free: 7.617 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001789/0.4603, allocations: 216 kB / 1.017 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001252/0.4615, allocations: 441.5 kB / 1.018 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/0.4761, allocations: 6.088 MB / 1.024 GB, free: 0.8711 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6025/1.079, allocations: 35.2 MB / 1.058 GB, free: 123.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002851/1.081, allocations: 2.02 MB / 1.06 GB, free: 123.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002676/1.084, allocations: 1.85 MB / 1.062 GB, free: 123.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.603e-05/1.084, allocations: 21.41 kB / 1.062 GB, free: 123.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/1.084, allocations: 58.28 kB / 1.062 GB, free: 123.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=171): time 4.588e-06/1.084, allocations: 0 / 1.062 GB, free: 123.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=276): time 0.1493/1.234, allocations: 39.02 MB / 1.1 GB, free: 111.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/1.234, allocations: 77.58 kB / 1.1 GB, free: 111.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002989/1.237, allocations: 2.28 MB / 1.102 GB, free: 109.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003727/1.237, allocations: 77.28 kB / 1.102 GB, free: 109.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001139/1.238, allocations: 2.279 MB / 1.105 GB, free: 108.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007571/1.239, allocations: 0.9326 MB / 1.105 GB, free: 107.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/1.239, allocations: 56 kB / 1.106 GB, free: 107.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.239, allocations: 428.1 kB / 1.106 GB, free: 106.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/1.242, allocations: 1.977 MB / 1.108 GB, free: 104.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002555/1.244, allocations: 2.598 MB / 1.11 GB, free: 102 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005218/1.25, allocations: 4.934 MB / 1.115 GB, free: 96.81 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/1.25, allocations: 4 kB / 1.115 GB, free: 96.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01261/1.262, allocations: 7.756 MB / 1.123 GB, free: 88.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/1.262, allocations: 13.25 kB / 1.123 GB, free: 88.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/1.262, allocations: 19.98 kB / 1.123 GB, free: 88.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008686/1.271, allocations: 3.214 MB / 1.126 GB, free: 85.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/1.273, allocations: 412.3 kB / 1.126 GB, free: 85.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03653/1.309, allocations: 31.15 MB / 1.157 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/1.313, allocations: 170.1 kB / 1.157 GB, free: 53.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005478/1.313, allocations: 104 kB / 1.157 GB, free: 53.12 MB / 0.698 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 (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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,92.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003572/1.317, allocations: 1.801 MB / 1.159 GB, free: 51.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009782/1.318, allocations: 328.2 kB / 1.159 GB, free: 50.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01402/1.332, allocations: 7.361 MB / 1.166 GB, free: 43.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/1.332, allocations: 24 kB / 1.166 GB, free: 43.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.552e-05/1.332, allocations: 32 kB / 1.166 GB, free: 43.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.09e-05/1.332, allocations: 11.95 kB / 1.166 GB, free: 43.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0243/1.356, allocations: 12.93 MB / 1.179 GB, free: 30.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.128e-05/1.357, allocations: 8 kB / 1.179 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009718/1.358, allocations: 232.6 kB / 1.179 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00789/1.365, allocations: 2.859 MB / 1.182 GB, free: 27.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004258/1.366, allocations: 48 kB / 1.182 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0381/1.404, allocations: 29.98 MB / 1.211 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/1.404, allocations: 7.938 kB / 1.211 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01634/1.42, allocations: 6.89 MB / 1.218 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002762/1.423, allocations: 0.7821 MB / 1.219 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001219/1.425, allocations: 52 kB / 1.219 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002828/1.427, allocations: 171.8 kB / 1.219 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001155/1.429, allocations: 253.4 kB / 1.219 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003424/1.429, allocations: 76 kB / 1.219 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003579/1.433, allocations: 1.527 MB / 1.221 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.31e-07/1.433, allocations: 0 / 1.221 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007379/1.44, allocations: 1.352 MB / 1.222 GB, free: 1.156 MB / 0.7136 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 (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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01483/1.455, allocations: 7.513 MB / 1.23 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0132/1.468, allocations: 6.929 MB / 1.236 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/1.468, allocations: 1.562 kB / 1.236 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.008922/1.477, allocations: 4.429 MB / 1.241 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01026/1.487, allocations: 1.029 MB / 1.242 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09273/1.58, allocations: 46.05 MB / 1.287 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00717/1.587, allocations: 3.64 MB / 1.29 GB, free: 8.477 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003131/1.591, allocations: 0.5673 MB / 1.291 GB, free: 7.906 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003397/1.594, allocations: 1.968 MB / 1.293 GB, free: 5.941 MB / 0.7917 GB Notification: Performance of SimCode: time 1.122e-06/1.594, allocations: 0 / 1.293 GB, free: 5.941 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6851/2.279, allocations: 107.9 MB / 1.398 GB, free: 282.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/2.279, allocations: 260.5 kB / 1.398 GB, free: 282.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.47/7.749, allocations: 0 / 1.398 GB, free: 282.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)