Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.205/2.205, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.0009827/0.0009826, allocations: 180.6 kB / 487.4 MB, free: 5.055 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.649/1.649, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008699/0.0008701, allocations: 99.72 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.983e-05/1.985e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3167, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.323, allocations: 164.5 MB / 1.367 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/1.323, allocations: 90.73 kB / 1.367 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06313/1.386, allocations: 30.18 MB / 1.396 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.206e-06/1.386, allocations: 0 / 1.396 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.584e-05/1.386, allocations: 18.8 kB / 1.396 GB, free: 24.95 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.00143/1.387, allocations: 0.6824 MB / 1.397 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.388, allocations: 7.625 kB / 1.397 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/1.389, allocations: 186.8 kB / 1.397 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006424/1.39, allocations: 388.6 kB / 1.397 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/1.39, allocations: 15.53 kB / 1.397 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-05/1.39, allocations: 22.91 kB / 1.397 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005381/1.39, allocations: 352.9 kB / 1.398 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/1.391, allocations: 0.6377 MB / 1.398 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/1.391, allocations: 7.719 kB / 1.398 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/1.391, allocations: 7.984 kB / 1.398 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.944e-05/1.391, allocations: 49.33 kB / 1.398 GB, free: 23.53 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/1.394, allocations: 3.705 MB / 1.402 GB, free: 20.25 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/1.396, allocations: 0.6607 MB / 1.403 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/1.396, allocations: 164.3 kB / 1.403 GB, free: 20 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/1.396, allocations: 3.688 kB / 1.403 GB, free: 20 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/1.396, allocations: 38.67 kB / 1.403 GB, free: 19.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/1.396, allocations: 4 kB / 1.403 GB, free: 19.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001359/1.398, allocations: 0.7867 MB / 1.404 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/1.398, allocations: 106.6 kB / 1.404 GB, free: 19.49 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/1.398, allocations: 300.4 kB / 1.404 GB, free: 19.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/1.398, allocations: 25.7 kB / 1.404 GB, free: 19.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/1.398, allocations: 281.3 kB / 1.404 GB, free: 19.12 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.292e-05/1.398, allocations: 108.4 kB / 1.404 GB, free: 19.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/1.398, allocations: 4 kB / 1.405 GB, free: 19.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.398, allocations: 359.8 kB / 1.405 GB, free: 18.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/1.399, allocations: 156.8 kB / 1.405 GB, free: 18.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/1.399, allocations: 342.8 kB / 1.405 GB, free: 18.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/1.399, allocations: 205.5 kB / 1.406 GB, free: 18.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.399, allocations: 0 / 1.406 GB, free: 18.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007669/1.4, allocations: 0.5851 MB / 1.406 GB, free: 18.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/1.4, allocations: 8.469 kB / 1.406 GB, free: 18.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.4, allocations: 3.844 kB / 1.406 GB, free: 18.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003067/1.4, allocations: 106.9 kB / 1.406 GB, free: 18.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/1.401, allocations: 107.1 kB / 1.406 GB, free: 18.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/1.404, allocations: 3.868 MB / 1.41 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/1.404, allocations: 19.53 kB / 1.41 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/1.404, allocations: 26.34 kB / 1.41 GB, free: 14.38 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.0001191/1.404, allocations: 116.6 kB / 1.41 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/1.404, allocations: 46.58 kB / 1.41 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006753/1.405, allocations: 490.4 kB / 1.411 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.405, allocations: 7.688 kB / 1.411 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/1.405, allocations: 0 / 1.411 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.405, allocations: 0 / 1.411 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/1.406, allocations: 1.192 MB / 1.412 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/1.406, allocations: 288 / 1.412 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/1.407, allocations: 69.61 kB / 1.412 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002116/1.407, allocations: 84.11 kB / 1.412 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/1.407, allocations: 7.219 kB / 1.412 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002686/1.409, allocations: 3.873 MB / 1.416 GB, free: 9.539 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.409, allocations: 3.844 kB / 1.416 GB, free: 9.539 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/1.41, allocations: 0.8715 MB / 1.417 GB, free: 8.801 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/1.41, allocations: 151.3 kB / 1.417 GB, free: 8.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/1.41, allocations: 4 kB / 1.417 GB, free: 8.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/1.411, allocations: 15.97 kB / 1.417 GB, free: 8.625 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/1.411, allocations: 35.8 kB / 1.417 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/1.411, allocations: 15.56 kB / 1.417 GB, free: 8.582 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002011/1.411, allocations: 238.7 kB / 1.417 GB, free: 8.398 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.7e-07/1.411, allocations: 8 kB / 1.417 GB, free: 8.391 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006411/1.412, allocations: 104 kB / 1.417 GB, free: 8.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.0001703/1.412, allocations: 111.1 kB / 1.417 GB, free: 8.168 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009572/1.413, allocations: 0.7385 MB / 1.418 GB, free: 7.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.413, allocations: 0 / 1.418 GB, free: 7.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005882/1.413, allocations: 0.5168 MB / 1.419 GB, free: 7.027 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006381/1.414, allocations: 98.86 kB / 1.419 GB, free: 6.945 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/1.415, allocations: 0.646 MB / 1.419 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/1.416, allocations: 0.8684 MB / 1.42 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002996/1.416, allocations: 100.3 kB / 1.42 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.601e-05/1.416, allocations: 31.44 kB / 1.42 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.416, allocations: 0 / 1.42 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of Templates: time 0.00963/1.426, allocations: 4.874 MB / 1.425 GB, free: 500 kB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches