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.ACLineMatrix_RL.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.ACLineMatrix_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.557/1.557, allocations: 252 MB / 267.3 MB, free: 10.81 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.001077/0.001077, allocations: 163.6 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.803/1.803, allocations: 205.4 MB / 0.578 GB, free: 20.08 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.0009081/0.0009082, allocations: 93.47 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003216, allocations: 12.88 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2152, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01854/0.2338, allocations: 21.76 MB / 0.9222 GB, free: 41.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009294/0.2431, allocations: 6.234 MB / 0.9283 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.2453, allocations: 75.56 kB / 0.9283 GB, free: 35.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.2469, allocations: 436.7 kB / 0.9288 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004177/0.2511, allocations: 1.545 MB / 0.9303 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.2543, allocations: 1.089 MB / 0.9313 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007525/0.2618, allocations: 8.822 MB / 0.9399 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00991/0.2718, allocations: 7.166 MB / 0.9469 GB, free: 16.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003704/0.2755, allocations: 1.801 MB / 0.9487 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004235/0.2798, allocations: 2.601 MB / 0.9512 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.2809, allocations: 207.9 kB / 0.9514 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002946/0.2838, allocations: 1.022 MB / 0.9524 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.002392/0.2862, allocations: 1.715 MB / 0.9541 GB, free: 8.707 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.003102/0.2894, allocations: 1.813 MB / 0.9559 GB, free: 6.879 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.006745/0.2961, allocations: 6.966 MB / 0.9627 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2962, allocations: 0 / 0.9627 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2962, allocations: 0 / 0.9627 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000216/0.2964, allocations: 0 / 0.9627 GB, free: 15.89 MB / 0.6198 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.006541/0.303, allocations: 3.072 MB / 0.9657 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.303, allocations: 12.03 kB / 0.9657 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001205/0.3042, allocations: 0.5015 MB / 0.9662 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006185/0.3104, allocations: 1.217 MB / 0.9674 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004501/0.315, allocations: 2.215 MB / 0.9695 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/0.3152, allocations: 234.4 kB / 0.9698 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007524/0.316, allocations: 323.8 kB / 0.9701 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.3272, allocations: 6.209 MB / 0.9761 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.977e-05/0.3273, allocations: 19.88 kB / 0.9761 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003581/0.3277, allocations: 135.9 kB / 0.9763 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004639/0.3282, allocations: 410.3 kB / 0.9767 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007821/0.336, allocations: 4.662 MB / 0.9812 GB, free: 12.49 MB / 0.6355 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.03085/0.3669, allocations: 29.05 MB / 1.01 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.3689, allocations: 1.417 MB / 1.011 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/0.3708, allocations: 1.483 MB / 1.012 GB, free: 9.816 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-05/0.3709, allocations: 13 kB / 1.012 GB, free: 9.805 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.371, allocations: 47.5 kB / 1.012 GB, free: 9.75 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=110): time 3.196e-06/0.371, allocations: 0 / 1.012 GB, free: 9.75 MB / 0.6667 GB Notification: Performance of matching and sorting (n=179): time 0.1558/0.5268, allocations: 36.32 MB / 1.048 GB, free: 5.355 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.5269, allocations: 73.34 kB / 1.048 GB, free: 5.273 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/0.5294, allocations: 1.423 MB / 1.049 GB, free: 3.844 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003701/0.5298, allocations: 53.69 kB / 1.049 GB, free: 3.785 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001279/0.5311, allocations: 1.539 MB / 1.051 GB, free: 2.227 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008044/0.5319, allocations: 0.6161 MB / 1.052 GB, free: 1.602 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.5322, allocations: 40 kB / 1.052 GB, free: 1.562 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000239/0.5324, allocations: 385.9 kB / 1.052 GB, free: 1.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.41/0.9424, allocations: 1.779 MB / 1.054 GB, free: 138.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002763/0.9452, allocations: 2.357 MB / 1.056 GB, free: 137.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006007/0.9512, allocations: 4.387 MB / 1.06 GB, free: 137.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/0.9513, allocations: 2.906 kB / 1.06 GB, free: 137.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02225/0.9735, allocations: 8.564 MB / 1.069 GB, free: 136.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.9736, allocations: 12.19 kB / 1.069 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.322e-05/0.9737, allocations: 25.39 kB / 1.069 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01504/0.9887, allocations: 4.63 MB / 1.073 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.99, allocations: 308.2 kB / 1.074 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03872/1.029, allocations: 29.47 MB / 1.102 GB, free: 117.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/1.031, allocations: 160.3 kB / 1.102 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/1.031, allocations: 83.98 kB / 1.103 GB, free: 117.1 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 (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.002088/1.033, allocations: 1.322 MB / 1.104 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/1.034, allocations: 197.7 kB / 1.104 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/1.049, allocations: 8.445 MB / 1.112 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/1.049, allocations: 16 kB / 1.112 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.89e-05/1.049, allocations: 27.98 kB / 1.112 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.027e-05/1.049, allocations: 13.19 kB / 1.112 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02231/1.071, allocations: 12.84 MB / 1.125 GB, free: 94.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/1.072, allocations: 4 kB / 1.125 GB, free: 94.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007115/1.072, allocations: 167.7 kB / 1.125 GB, free: 93.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0131/1.085, allocations: 4.485 MB / 1.129 GB, free: 89.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002914/1.086, allocations: 36 kB / 1.129 GB, free: 89.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03572/1.121, allocations: 29.1 MB / 1.158 GB, free: 59.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.121, allocations: 11.94 kB / 1.158 GB, free: 59.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/1.137, allocations: 8.236 MB / 1.166 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001442/1.139, allocations: 0.6269 MB / 1.167 GB, free: 50.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003802/1.139, allocations: 40 kB / 1.167 GB, free: 50.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.14, allocations: 135.9 kB / 1.167 GB, free: 50.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008588/1.141, allocations: 164.9 kB / 1.167 GB, free: 50.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/1.141, allocations: 52 kB / 1.167 GB, free: 50.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001126/1.143, allocations: 0.9588 MB / 1.168 GB, free: 49.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.143, allocations: 0 / 1.168 GB, free: 49.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003194/1.146, allocations: 1.105 MB / 1.169 GB, free: 48.04 MB / 0.698 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.01535/1.161, allocations: 8.843 MB / 1.178 GB, free: 39.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01155/1.173, allocations: 6.425 MB / 1.184 GB, free: 32.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/1.173, allocations: 0 / 1.184 GB, free: 32.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.008344/1.181, allocations: 4.297 MB / 1.188 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/1.185, allocations: 499 kB / 1.188 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05639/1.241, allocations: 36.7 MB / 1.224 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002684/1.244, allocations: 2.722 MB / 1.227 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001178/1.245, allocations: 384.6 kB / 1.227 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/1.246, allocations: 1.222 MB / 1.229 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/1.246, allocations: 0 / 1.229 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1147/1.361, allocations: 78.69 MB / 1.305 GB, free: 2.773 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003757/1.362, allocations: 265.5 kB / 1.306 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.049/5.41, allocations: 0 / 1.306 GB, free: 2.414 MB / 0.7917 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)