Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_latest_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_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003667/0.003667, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002552/0.002552, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.728/2.728, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.877/4.877, allocations: 409.2 MB / 0.6838 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006533/0.0006534, allocations: 12 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44/1.441, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03797/1.479, allocations: 20.51 MB / 1.001 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0198/1.499, allocations: 6.226 MB / 1.007 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004669/1.503, allocations: 75.5 kB / 1.007 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003254/1.507, allocations: 465.1 kB / 1.008 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.009656/1.516, allocations: 1.2 MB / 1.009 GB, free: 9.711 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005931/1.522, allocations: 0.918 MB / 1.01 GB, free: 8.797 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01068/1.533, allocations: 3.251 MB / 1.013 GB, free: 5.539 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03059/1.564, allocations: 7.092 MB / 1.02 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008775/1.573, allocations: 1.744 MB / 1.021 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008102/1.581, allocations: 2.068 MB / 1.023 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.003038/1.584, allocations: 247.9 kB / 1.024 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004571/1.589, allocations: 491.5 kB / 1.024 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.005846/1.595, allocations: 1.93 MB / 1.026 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004254/1.599, allocations: 0.851 MB / 1.027 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0156/1.615, allocations: 6.898 MB / 1.034 GB, free: 140 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/1.615, allocations: 4 kB / 1.034 GB, free: 136 kB / 0.7794 GB Notification: Performance of FrontEnd: time 5.731e-06/1.615, allocations: 0 / 1.034 GB, free: 136 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0003986/1.615, allocations: 0 / 1.034 GB, free: 136 kB / 0.7794 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.01841/1.634, allocations: 3.579 MB / 1.037 GB, free: 12.49 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 9.114e-05/1.634, allocations: 8.031 kB / 1.037 GB, free: 12.48 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004629/1.638, allocations: 0.5751 MB / 1.038 GB, free: 11.89 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01884/1.657, allocations: 1.785 MB / 1.039 GB, free: 10.1 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/1.669, allocations: 2.513 MB / 1.042 GB, free: 7.535 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005617/1.669, allocations: 275.2 kB / 1.042 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002889/1.672, allocations: 367.8 kB / 1.042 GB, free: 6.906 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03689/1.709, allocations: 7.428 MB / 1.05 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002444/1.71, allocations: 15.88 kB / 1.05 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00224/1.712, allocations: 159.9 kB / 1.05 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001179/1.713, allocations: 487.3 kB / 1.05 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02297/1.736, allocations: 5.677 MB / 1.056 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08151/1.818, allocations: 31.67 MB / 1.087 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006323/1.824, allocations: 2.089 MB / 1.089 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003938/1.825, allocations: 17.31 kB / 1.089 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.922e-05/1.825, allocations: 43.88 kB / 1.089 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=146): time 1.108e-05/1.825, allocations: 0 / 1.089 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=251): time 0.5573/2.382, allocations: 75.25 MB / 1.162 GB, free: 8.883 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/2.382, allocations: 77.41 kB / 1.162 GB, free: 8.797 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004759/2.387, allocations: 1.654 MB / 1.164 GB, free: 7.098 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001255/2.388, allocations: 65.7 kB / 1.164 GB, free: 7.027 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002889/2.391, allocations: 1.743 MB / 1.166 GB, free: 5.262 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.002489/2.394, allocations: 0.8549 MB / 1.167 GB, free: 4.395 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000484/2.394, allocations: 52 kB / 1.167 GB, free: 4.344 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0003484/2.395, allocations: 423.1 kB / 1.167 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007498/2.402, allocations: 2.718 MB / 1.17 GB, free: 1.203 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008774/2.411, allocations: 3.312 MB / 1.173 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008722/2.42, allocations: 3.055 MB / 1.176 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.421e-05/2.42, allocations: 4 kB / 1.176 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.1262/2.546, allocations: 14.64 MB / 1.19 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.574e-05/2.546, allocations: 15.95 kB / 1.19 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.294e-05/2.546, allocations: 16 kB / 1.19 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06831/2.615, allocations: 9.236 MB / 1.199 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/2.618, allocations: 295.5 kB / 1.2 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42/4.037, allocations: 49.57 MB / 1.248 GB, free: 238.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006261/4.043, allocations: 221.9 kB / 1.248 GB, free: 238.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001163/4.045, allocations: 101 kB / 1.248 GB, free: 238.5 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007639/4.052, allocations: 1.592 MB / 1.25 GB, free: 238.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001401/4.054, allocations: 243.4 kB / 1.25 GB, free: 238.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0652/4.119, allocations: 14.72 MB / 1.265 GB, free: 236.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.355e-05/4.119, allocations: 23.53 kB / 1.265 GB, free: 236.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003244/4.12, allocations: 47.22 kB / 1.265 GB, free: 236.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.689e-05/4.12, allocations: 11.53 kB / 1.265 GB, free: 236.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07126/4.191, allocations: 20.48 MB / 1.285 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-05/4.191, allocations: 3.875 kB / 1.285 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/4.192, allocations: 157.7 kB / 1.285 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04849/4.241, allocations: 9.008 MB / 1.294 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001285/4.242, allocations: 48 kB / 1.294 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.119/4.361, allocations: 49.2 MB / 1.342 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.258e-05/4.361, allocations: 11.94 kB / 1.342 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05336/4.415, allocations: 14.77 MB / 1.356 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00441/4.419, allocations: 0.8416 MB / 1.357 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001521/4.421, allocations: 51.98 kB / 1.357 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005035/4.426, allocations: 211.6 kB / 1.357 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002491/4.429, allocations: 237.5 kB / 1.357 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006723/4.429, allocations: 72 kB / 1.357 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002803/4.432, allocations: 1.11 MB / 1.359 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.6e-07/4.432, allocations: 0 / 1.359 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.01136/4.443, allocations: 1.613 MB / 1.36 GB, free: 155.8 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05153/4.495, allocations: 17.11 MB / 1.377 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.03477/4.53, allocations: 10.33 MB / 1.387 GB, free: 128.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.69e-05/4.53, allocations: 0 / 1.387 GB, free: 128.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.02694/4.557, allocations: 7.156 MB / 1.394 GB, free: 120.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005128/4.562, allocations: 487.5 kB / 1.394 GB, free: 120.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.114/4.676, allocations: 47.45 MB / 1.441 GB, free: 71.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006264/4.683, allocations: 3.303 MB / 1.444 GB, free: 68.14 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002028/4.685, allocations: 391.3 kB / 1.444 GB, free: 67.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002491/4.687, allocations: 1.483 MB / 1.446 GB, free: 66.27 MB / 0.9981 GB Notification: Performance of SimCode: time 1.173e-06/4.687, allocations: 4 kB / 1.446 GB, free: 66.26 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.298/4.985, allocations: 112.3 MB / 1.555 GB, free: 2.418 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006006/4.986, allocations: 244.1 kB / 1.556 GB, free: 2.176 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/12.48, allocations: 4 kB / 1.556 GB, free: 2.172 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat does not exist to compare? outputFormat=mat