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_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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.41/1.41, allocations: 252 MB / 267.3 MB, free: 10.8 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.000968/0.000968, allocations: 176 kB / 327 MB, free: 2.098 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.72/1.72, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0008017/0.0008017, allocations: 86.36 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003578, allocations: 11.7 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2467, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02712/0.2738, allocations: 22.55 MB / 0.923 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01056/0.2844, allocations: 6.481 MB / 0.9293 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002711/0.2872, allocations: 83.56 kB / 0.9294 GB, free: 34.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.289, allocations: 472.5 kB / 0.9298 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004619/0.2936, allocations: 1.739 MB / 0.9315 GB, free: 31.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.297, allocations: 1.195 MB / 0.9327 GB, free: 30.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.009791/0.3068, allocations: 10.55 MB / 0.943 GB, free: 20.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01361/0.3204, allocations: 8.055 MB / 0.9508 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004602/0.3251, allocations: 2.124 MB / 0.9529 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006203/0.3313, allocations: 3.185 MB / 0.956 GB, free: 6.703 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001408/0.3328, allocations: 244 kB / 0.9563 GB, free: 6.465 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003858/0.3366, allocations: 1.061 MB / 0.9573 GB, free: 5.402 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.003318/0.34, allocations: 2.101 MB / 0.9594 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00329/0.3433, allocations: 2.12 MB / 0.9614 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.009039/0.3524, allocations: 8.126 MB / 0.9694 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3524, allocations: 4 kB / 0.9694 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3524, allocations: 0 / 0.9694 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001936/0.3526, allocations: 0 / 0.9694 GB, free: 9.004 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.006895/0.3595, allocations: 3.566 MB / 0.9728 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.3596, allocations: 8.031 kB / 0.9729 GB, free: 5.359 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001088/0.3607, allocations: 0.5714 MB / 0.9734 GB, free: 4.777 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008385/0.3691, allocations: 1.677 MB / 0.975 GB, free: 3.094 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005373/0.3745, allocations: 2.575 MB / 0.9776 GB, free: 476 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002201/0.3747, allocations: 279.7 kB / 0.9778 GB, free: 196 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001007/0.3757, allocations: 364.3 kB / 0.9782 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01559/0.3914, allocations: 7.483 MB / 0.9855 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.3915, allocations: 15.88 kB / 0.9855 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005653/0.3921, allocations: 159.9 kB / 0.9857 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006854/0.3928, allocations: 487.3 kB / 0.9861 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0121/0.4049, allocations: 5.701 MB / 0.9917 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04461/0.4495, allocations: 31.68 MB / 1.023 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003173/0.4527, allocations: 2.088 MB / 1.025 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003121/0.4559, allocations: 2.167 MB / 1.027 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001813/0.4561, allocations: 17.31 kB / 1.027 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.4562, allocations: 47.88 kB / 1.027 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 3.366e-06/0.4562, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=251): time 0.7573/1.213, allocations: 75.27 MB / 1.1 GB, free: 119.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/1.214, allocations: 78.03 kB / 1.1 GB, free: 119.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002492/1.216, allocations: 1.666 MB / 1.102 GB, free: 118 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006229/1.217, allocations: 71.83 kB / 1.102 GB, free: 118 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/1.218, allocations: 1.742 MB / 1.104 GB, free: 116.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009342/1.219, allocations: 0.8593 MB / 1.105 GB, free: 115.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00039/1.219, allocations: 53.5 kB / 1.105 GB, free: 115.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.219, allocations: 413.6 kB / 1.105 GB, free: 115.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003367/1.223, allocations: 2.726 MB / 1.108 GB, free: 112.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0038/1.226, allocations: 3.332 MB / 1.111 GB, free: 109.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007415/1.234, allocations: 6.387 MB / 1.117 GB, free: 102.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.331e-05/1.234, allocations: 11.94 kB / 1.117 GB, free: 102.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03085/1.265, allocations: 14.68 MB / 1.132 GB, free: 87.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/1.265, allocations: 17.41 kB / 1.132 GB, free: 87.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.628e-05/1.265, allocations: 24.09 kB / 1.132 GB, free: 87.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02862/1.294, allocations: 9.232 MB / 1.141 GB, free: 78.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/1.295, allocations: 299.4 kB / 1.141 GB, free: 78.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06642/1.361, allocations: 47.12 MB / 1.187 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003637/1.365, allocations: 227.7 kB / 1.187 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007637/1.366, allocations: 96 kB / 1.187 GB, free: 30 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 {(19,19,68.1%), (19,19,54.6%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,53.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003712/1.37, allocations: 1.588 MB / 1.189 GB, free: 28.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008926/1.37, allocations: 243.5 kB / 1.189 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0308/1.401, allocations: 14.75 MB / 1.203 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.982e-05/1.401, allocations: 24 kB / 1.203 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001854/1.402, allocations: 44 kB / 1.204 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-05/1.402, allocations: 15.95 kB / 1.204 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04226/1.444, allocations: 20.53 MB / 1.224 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.374e-05/1.444, allocations: 8 kB / 1.224 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008233/1.445, allocations: 156.6 kB / 1.224 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02964/1.474, allocations: 9.003 MB / 1.233 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005196/1.475, allocations: 56.12 kB / 1.233 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07648/1.552, allocations: 46.75 MB / 1.278 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/1.552, allocations: 11.94 kB / 1.278 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03383/1.585, allocations: 14.36 MB / 1.292 GB, free: 1.273 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002278/1.588, allocations: 0.8455 MB / 1.293 GB, free: 416 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008197/1.589, allocations: 51.98 kB / 1.293 GB, free: 364 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002646/1.591, allocations: 211.7 kB / 1.293 GB, free: 152 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001471/1.593, allocations: 237.5 kB / 1.294 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003276/1.593, allocations: 68 kB / 1.294 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001987/1.595, allocations: 1.125 MB / 1.295 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4.51e-07/1.595, allocations: 0 / 1.295 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00669/1.602, allocations: 1.598 MB / 1.296 GB, free: 13.11 MB / 0.7917 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03445/1.636, allocations: 14.98 MB / 1.311 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02456/1.661, allocations: 10.35 MB / 1.321 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/1.661, allocations: 0 / 1.321 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.01892/1.68, allocations: 7.154 MB / 1.328 GB, free: 12.34 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00566/1.686, allocations: 0.5217 MB / 1.329 GB, free: 11.83 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1229/1.809, allocations: 55.07 MB / 1.382 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4569/2.265, allocations: 3.218 MB / 1.385 GB, free: 292.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001791/2.267, allocations: 390.6 kB / 1.386 GB, free: 292.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002441/2.27, allocations: 1.461 MB / 1.387 GB, free: 292.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.393e-06/2.27, allocations: 0 / 1.387 GB, free: 292.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1633/2.433, allocations: 113.2 MB / 1.498 GB, free: 213.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/2.433, allocations: 279.2 kB / 1.498 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.846/7.279, allocations: 4.672 kB / 1.498 GB, free: 212.9 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)