Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 109.2 kB / 16.41 MB, free: 6.438 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.00166/0.001661, allocations: 190.7 kB / 17.35 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 75.77 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9969/0.9983, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.02134/1.02, allocations: 17.11 MB / 1.184 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0104/1.03, allocations: 6.102 MB / 1.19 GB, free: 12.57 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/1.032, allocations: 43.94 kB / 1.19 GB, free: 12.52 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004317/1.036, allocations: 1.578 MB / 1.192 GB, free: 10.94 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003467/1.04, allocations: 1.062 MB / 1.193 GB, free: 9.875 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003045/1.043, allocations: 1.047 MB / 1.194 GB, free: 8.828 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005209/1.048, allocations: 4.237 MB / 1.198 GB, free: 4.582 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006694/1.055, allocations: 5.656 MB / 1.203 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002965/1.058, allocations: 1.89 MB / 1.205 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003539/1.061, allocations: 2.244 MB / 1.207 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0008257/1.062, allocations: 440 kB / 1.208 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/1.064, allocations: 1.112 MB / 1.209 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001708/1.066, allocations: 1.751 MB / 1.211 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002068/1.068, allocations: 1.716 MB / 1.212 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006504/1.075, allocations: 6.414 MB / 1.218 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/1.075, allocations: 0 / 1.218 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.344e-06/1.075, allocations: 0 / 1.218 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001583/1.075, allocations: 0 / 1.218 GB, free: 15.24 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.00729/1.082, allocations: 2.994 MB / 1.221 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/1.082, allocations: 12.92 kB / 1.221 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/1.093, allocations: 2.006 MB / 1.223 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004596/1.098, allocations: 1.632 MB / 1.225 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/1.098, allocations: 222.3 kB / 1.225 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/1.099, allocations: 288.4 kB / 1.225 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/1.114, allocations: 5.773 MB / 1.231 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.713e-05/1.114, allocations: 4 kB / 1.231 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003823/1.114, allocations: 116 kB / 1.231 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003319/1.114, allocations: 200.9 kB / 1.231 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/1.129, allocations: 5.819 MB / 1.237 GB, free: 11.97 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03194/1.161, allocations: 22.66 MB / 1.259 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005944/1.167, allocations: 2.521 MB / 1.262 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004377/1.171, allocations: 1.643 MB / 1.263 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/1.172, allocations: 126 kB / 1.263 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.704e-05/1.172, allocations: 51.5 kB / 1.263 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=116): time 3.777e-06/1.172, allocations: 0 / 1.263 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.03783/1.21, allocations: 11.64 MB / 1.275 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/1.21, allocations: 222.9 kB / 1.275 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/1.211, allocations: 1.043 MB / 1.276 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002537/1.212, allocations: 45.7 kB / 1.276 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008082/1.213, allocations: 1.246 MB / 1.277 GB, free: 440 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000639/1.213, allocations: 0.5009 MB / 1.278 GB, free: 15.92 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008955/1.214, allocations: 459.5 kB / 1.278 GB, free: 15.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.214, allocations: 337.9 kB / 1.279 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004524/1.219, allocations: 1.785 MB / 1.28 GB, free: 13.33 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005036/1.224, allocations: 2.467 MB / 1.283 GB, free: 10.54 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009407/1.233, allocations: 4.261 MB / 1.287 GB, free: 5.977 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-05/1.233, allocations: 8 kB / 1.287 GB, free: 5.969 MB / 1.014 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01308/1.246, allocations: 5.091 MB / 1.292 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-05/1.247, allocations: 23.92 kB / 1.292 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.562e-05/1.247, allocations: 23.94 kB / 1.292 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/1.25, allocations: 0.8834 MB / 1.293 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003363/1.253, allocations: 0.7565 MB / 1.294 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01513/1.268, allocations: 13.87 MB / 1.307 GB, free: 436 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00353/1.272, allocations: 467.1 kB / 1.307 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005426/1.272, allocations: 111.9 kB / 1.308 GB, free: 15.86 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006643/1.279, allocations: 2.865 MB / 1.31 GB, free: 12.98 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005254/1.284, allocations: 2.463 MB / 1.313 GB, free: 10.21 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01017/1.294, allocations: 4.234 MB / 1.317 GB, free: 5.668 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.65e-05/1.294, allocations: 8 kB / 1.317 GB, free: 5.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.01309/1.307, allocations: 5.036 MB / 1.322 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/1.308, allocations: 16 kB / 1.322 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.896e-05/1.308, allocations: 23.98 kB / 1.322 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002361/1.31, allocations: 0.8017 MB / 1.323 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003388/1.313, allocations: 0.7604 MB / 1.323 GB, free: 14.97 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/1.328, allocations: 13.68 MB / 1.337 GB, free: 452 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003583/1.331, allocations: 459.2 kB / 1.337 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005331/1.332, allocations: 111.9 kB / 1.337 GB, free: 15.88 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (232): * Single equations (assignments): 226 * 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 {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001034/1.333, allocations: 323.5 kB / 1.338 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005836/1.334, allocations: 122.5 kB / 1.338 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/1.345, allocations: 4.382 MB / 1.342 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.901e-05/1.345, allocations: 7.969 kB / 1.342 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/1.345, allocations: 4 kB / 1.342 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.346, allocations: 467.4 kB / 1.342 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003708/1.347, allocations: 27.94 kB / 1.343 GB, free: 10.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002614/1.349, allocations: 383.4 kB / 1.343 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/1.35, allocations: 125 kB / 1.343 GB, free: 9.992 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01258/1.362, allocations: 4.873 MB / 1.348 GB, free: 5.082 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01334/1.376, allocations: 5.645 MB / 1.353 GB, free: 15.42 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00402/1.38, allocations: 1.598 MB / 1.355 GB, free: 13.82 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00126/1.381, allocations: 0.741 MB / 1.356 GB, free: 13.08 MB / 1.092 GB Notification: Performance of Backend: time 4.41e-07/1.381, allocations: 0 / 1.356 GB, free: 13.08 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01827/1.399, allocations: 7.08 MB / 1.362 GB, free: 5.84 MB / 1.092 GB Notification: Performance of SimCode: time 0.01029/1.41, allocations: 5.086 MB / 1.367 GB, free: 0.7188 MB / 1.092 GB Notification: Performance of Templates: time 0.08718/1.497, allocations: 53.85 MB / 1.42 GB, free: 10.89 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches