Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.359/2.359, allocations: 390.5 MB / 398 MB, free: 10.92 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 176.9 kB / 491.2 MB, free: 1.586 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000966/0.000966, allocations: 94.72 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.915e-05/1.939e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2917, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.084/1.375, allocations: 165.3 MB / 1.374 GB, free: 17.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/1.376, allocations: 96.22 kB / 1.374 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06557/1.441, allocations: 30.18 MB / 1.403 GB, free: 22.27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.633e-06/1.441, allocations: 0 / 1.403 GB, free: 22.27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.82e-05/1.441, allocations: 15.83 kB / 1.403 GB, free: 22.26 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001434/1.443, allocations: 0.6816 MB / 1.404 GB, free: 21.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.443, allocations: 12.03 kB / 1.404 GB, free: 21.56 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/1.445, allocations: 179.2 kB / 1.404 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006834/1.445, allocations: 396.9 kB / 1.405 GB, free: 21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/1.445, allocations: 12 kB / 1.405 GB, free: 20.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-05/1.445, allocations: 20 kB / 1.405 GB, free: 20.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000569/1.446, allocations: 343.2 kB / 1.405 GB, free: 20.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007462/1.447, allocations: 0.6472 MB / 1.406 GB, free: 20.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/1.447, allocations: 3.938 kB / 1.406 GB, free: 20.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/1.447, allocations: 7.953 kB / 1.406 GB, free: 20.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.263e-05/1.447, allocations: 43.84 kB / 1.406 GB, free: 20.06 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003151/1.45, allocations: 3.709 MB / 1.409 GB, free: 16.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/1.452, allocations: 0.659 MB / 1.41 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/1.452, allocations: 164.3 kB / 1.41 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/1.452, allocations: 4 kB / 1.41 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/1.452, allocations: 37.62 kB / 1.41 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 3.126e-06/1.452, allocations: 0 / 1.41 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001394/1.454, allocations: 0.7946 MB / 1.411 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/1.454, allocations: 110.8 kB / 1.411 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/1.454, allocations: 305.5 kB / 1.411 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/1.454, allocations: 25.7 kB / 1.411 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/1.454, allocations: 275.7 kB / 1.412 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.066e-05/1.454, allocations: 114.4 kB / 1.412 GB, free: 14.22 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/1.454, allocations: 0 / 1.412 GB, free: 14.22 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.454, allocations: 350.6 kB / 1.412 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/1.454, allocations: 161.7 kB / 1.412 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/1.455, allocations: 336.1 kB / 1.412 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/1.455, allocations: 202.3 kB / 1.413 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.455, allocations: 8 kB / 1.413 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009447/1.456, allocations: 0.5879 MB / 1.413 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/1.456, allocations: 11.95 kB / 1.413 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/1.456, allocations: 4 kB / 1.413 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003719/1.456, allocations: 97.45 kB / 1.413 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/1.457, allocations: 107.2 kB / 1.413 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003233/1.46, allocations: 3.867 MB / 1.417 GB, free: 8.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/1.46, allocations: 23.91 kB / 1.417 GB, free: 8.527 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/1.46, allocations: 23.88 kB / 1.417 GB, free: 8.508 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001463/1.461, allocations: 121 kB / 1.417 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/1.461, allocations: 39.53 kB / 1.417 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008743/1.462, allocations: 488.6 kB / 1.418 GB, free: 7.969 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/1.462, allocations: 8 kB / 1.418 GB, free: 7.961 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.462, allocations: 4 kB / 1.418 GB, free: 7.957 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.462, allocations: 0 / 1.418 GB, free: 7.957 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/1.463, allocations: 1.182 MB / 1.419 GB, free: 6.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/1.463, allocations: 7.984 kB / 1.419 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/1.464, allocations: 59.34 kB / 1.419 GB, free: 6.832 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000249/1.464, allocations: 91.66 kB / 1.419 GB, free: 6.746 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/1.464, allocations: 8 kB / 1.419 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003023/1.467, allocations: 3.865 MB / 1.423 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/1.467, allocations: 7.969 kB / 1.423 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009512/1.468, allocations: 0.8722 MB / 1.424 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/1.468, allocations: 149.2 kB / 1.424 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.35e-05/1.468, allocations: 4 kB / 1.424 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/1.469, allocations: 15.97 kB / 1.424 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/1.469, allocations: 38.92 kB / 1.424 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/1.469, allocations: 15.25 kB / 1.424 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002652/1.469, allocations: 234 kB / 1.424 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.469, allocations: 0 / 1.424 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007669/1.47, allocations: 108 kB / 1.424 GB, free: 1.289 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002032/1.47, allocations: 123 kB / 1.424 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001169/1.471, allocations: 0.7453 MB / 1.425 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.471, allocations: 4.312 kB / 1.425 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0006623/1.472, allocations: 0.504 MB / 1.426 GB, free: 16 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007496/1.473, allocations: 109 kB / 1.426 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/1.474, allocations: 0.6403 MB / 1.426 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/1.475, allocations: 0.8814 MB / 1.427 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003309/1.475, allocations: 92.31 kB / 1.427 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.178e-05/1.475, allocations: 35.42 kB / 1.427 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of SimCode: time 4.21e-07/1.475, allocations: 0 / 1.427 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of Templates: time 0.01056/1.486, allocations: 4.872 MB / 1.432 GB, free: 9.477 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches