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.146/2.146, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.0009616/0.0009615, allocations: 172.1 kB / 492.3 MB, free: 0.6133 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.51/1.51, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.001051/0.001051, allocations: 97.95 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.042e-05/4.045e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3348, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.394, allocations: 165.2 MB / 1.374 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/1.395, allocations: 90.97 kB / 1.374 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06171/1.456, allocations: 30.29 MB / 1.403 GB, free: 22.27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.064e-06/1.456, allocations: 0 / 1.403 GB, free: 22.27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.68e-05/1.457, allocations: 15.67 kB / 1.403 GB, free: 22.25 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.001044/1.458, allocations: 0.6809 MB / 1.404 GB, free: 21.56 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/1.458, allocations: 8.031 kB / 1.404 GB, free: 21.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/1.459, allocations: 183.2 kB / 1.404 GB, free: 21.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/1.46, allocations: 398.4 kB / 1.405 GB, free: 20.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/1.46, allocations: 31.2 kB / 1.405 GB, free: 20.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-05/1.46, allocations: 26.75 kB / 1.405 GB, free: 20.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007826/1.46, allocations: 0.6922 MB / 1.405 GB, free: 20.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/1.46, allocations: 7.938 kB / 1.405 GB, free: 20.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.765e-05/1.461, allocations: 20.94 kB / 1.405 GB, free: 20.28 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.975e-05/1.461, allocations: 43.09 kB / 1.405 GB, free: 20.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005709/1.461, allocations: 489.3 kB / 1.406 GB, free: 19.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00282/1.464, allocations: 3.791 MB / 1.41 GB, free: 16.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/1.466, allocations: 0.6764 MB / 1.41 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/1.466, allocations: 178.4 kB / 1.41 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/1.466, allocations: 7.984 kB / 1.41 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/1.466, allocations: 41.69 kB / 1.41 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 2.655e-06/1.466, allocations: 0 / 1.41 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001359/1.467, allocations: 0.8362 MB / 1.411 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/1.467, allocations: 110.8 kB / 1.411 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/1.468, allocations: 339.6 kB / 1.412 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/1.468, allocations: 33.64 kB / 1.412 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/1.468, allocations: 273.5 kB / 1.412 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.18e-05/1.468, allocations: 112.6 kB / 1.412 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/1.468, allocations: 13.44 kB / 1.412 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.468, allocations: 359.8 kB / 1.412 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/1.469, allocations: 164.5 kB / 1.413 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/1.469, allocations: 352.7 kB / 1.413 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/1.469, allocations: 222.1 kB / 1.413 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.469, allocations: 0.8438 kB / 1.413 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001/1.47, allocations: 0.6407 MB / 1.414 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/1.47, allocations: 12.7 kB / 1.414 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.47, allocations: 12 kB / 1.414 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003657/1.471, allocations: 93 kB / 1.414 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/1.471, allocations: 107.2 kB / 1.414 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003337/1.474, allocations: 4.026 MB / 1.418 GB, free: 7.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/1.475, allocations: 31.72 kB / 1.418 GB, free: 7.949 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/1.475, allocations: 19.25 kB / 1.418 GB, free: 7.934 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.0001496/1.475, allocations: 143.5 kB / 1.418 GB, free: 7.801 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/1.475, allocations: 47.44 kB / 1.418 GB, free: 7.754 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009065/1.476, allocations: 0.5098 MB / 1.419 GB, free: 7.371 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.476, allocations: 4 kB / 1.419 GB, free: 7.367 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/1.476, allocations: 7.953 kB / 1.419 GB, free: 7.359 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/1.476, allocations: 7.938 kB / 1.419 GB, free: 7.352 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/1.478, allocations: 1.269 MB / 1.42 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.478, allocations: 4.281 kB / 1.42 GB, free: 6.211 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/1.478, allocations: 63.16 kB / 1.42 GB, free: 6.152 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002615/1.479, allocations: 96.06 kB / 1.42 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/1.479, allocations: 7.562 kB / 1.42 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003157/1.482, allocations: 4.03 MB / 1.424 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.482, allocations: 7.984 kB / 1.424 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/1.483, allocations: 0.9002 MB / 1.425 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/1.483, allocations: 157.5 kB / 1.425 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/1.483, allocations: 7.062 kB / 1.425 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/1.483, allocations: 26.66 kB / 1.425 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/1.483, allocations: 35.17 kB / 1.425 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/1.484, allocations: 11.66 kB / 1.425 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003166/1.484, allocations: 279 kB / 1.425 GB, free: 460 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.484, allocations: 0 / 1.425 GB, free: 460 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007078/1.485, allocations: 129.4 kB / 1.426 GB, free: 344 kB / 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.0002344/1.485, allocations: 115.4 kB / 1.426 GB, free: 220 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001395/1.486, allocations: 0.7878 MB / 1.426 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.486, allocations: 0 / 1.426 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008644/1.487, allocations: 0.5443 MB / 1.427 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008639/1.488, allocations: 115.6 kB / 1.427 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/1.49, allocations: 0.6605 MB / 1.428 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007577/1.49, allocations: 0.8775 MB / 1.429 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004453/1.491, allocations: 108.4 kB / 1.429 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/1.491, allocations: 35.44 kB / 1.429 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of SimCode: time 1.473e-06/1.491, allocations: 0 / 1.429 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of Templates: time 0.01565/1.507, allocations: 5.316 MB / 1.434 GB, free: 7.988 MB / 0.8542 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