Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.OnePhase.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00948/0.009481, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.642/1.642, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.844/2.844, allocations: 390.9 MB / 0.6663 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004199, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128/1.129, allocations: 142.4 MB / 0.955 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.005676/1.135, allocations: 4.725 MB / 0.9597 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006268/1.141, allocations: 4.005 MB / 0.9636 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007851/1.142, allocations: 14.84 kB / 0.9636 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004963/1.142, allocations: 83.66 kB / 0.9637 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002355/1.145, allocations: 0.6327 MB / 0.9643 GB, free: 428 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001433/1.146, allocations: 421.9 kB / 0.9647 GB, free: 116 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002218/1.148, allocations: 1.413 MB / 0.9661 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/1.15, allocations: 0.6829 MB / 0.9667 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/1.151, allocations: 338.5 kB / 0.9671 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/1.152, allocations: 482.4 kB / 0.9675 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002343/1.153, allocations: 31.66 kB / 0.9675 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002663/1.155, allocations: 0.9782 MB / 0.9685 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006984/1.156, allocations: 281.2 kB / 0.9688 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001721/1.158, allocations: 370 kB / 0.9691 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003796/1.162, allocations: 1.305 MB / 0.9704 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/1.162, allocations: 0 / 0.9704 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.246e-06/1.162, allocations: 3.938 kB / 0.9704 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.259e-05/1.162, allocations: 1.125 kB / 0.9704 GB, free: 12.6 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.002284/1.164, allocations: 0.94 MB / 0.9713 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/1.164, allocations: 8.875 kB / 0.9713 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/1.174, allocations: 1.635 MB / 0.9729 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/1.176, allocations: 0.5555 MB / 0.9735 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-05/1.176, allocations: 47.52 kB / 0.9735 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/1.176, allocations: 64.36 kB / 0.9736 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005843/1.182, allocations: 1.848 MB / 0.9754 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/1.182, allocations: 6.719 kB / 0.9754 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/1.182, allocations: 26.7 kB / 0.9754 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002772/1.182, allocations: 107.2 kB / 0.9755 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009032/1.191, allocations: 2.496 MB / 0.978 GB, free: 7.621 MB / 0.7325 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.01119/1.203, allocations: 6.38 MB / 0.9842 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003767/1.207, allocations: 1.368 MB / 0.9855 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002809/1.209, allocations: 0.9143 MB / 0.9864 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003044/1.212, allocations: 2.166 MB / 0.9885 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/1.213, allocations: 50.48 kB / 0.9886 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=69): time 2.565e-06/1.213, allocations: 0 / 0.9886 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=93): time 0.02583/1.238, allocations: 6.782 MB / 0.9952 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/1.239, allocations: 199.9 kB / 0.9954 GB, free: 5.117 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000758/1.239, allocations: 0.5212 MB / 0.9959 GB, free: 4.586 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001567/1.239, allocations: 41.7 kB / 0.9959 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/1.24, allocations: 386.7 kB / 0.9963 GB, free: 4.152 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/1.24, allocations: 323.4 kB / 0.9966 GB, free: 3.832 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/1.24, allocations: 97.66 kB / 0.9967 GB, free: 3.73 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001838/1.241, allocations: 378.7 kB / 0.9971 GB, free: 3.352 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003012/1.244, allocations: 1.021 MB / 0.9981 GB, free: 2.328 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003186/1.247, allocations: 1.298 MB / 0.9993 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006149/1.253, allocations: 2.3 MB / 1.002 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/1.253, allocations: 4 kB / 1.002 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01074/1.264, allocations: 3.376 MB / 1.005 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004396/1.264, allocations: 335.8 kB / 1.005 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-05/1.264, allocations: 11.94 kB / 1.005 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004803/1.269, allocations: 1.096 MB / 1.006 GB, free: 9.535 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/1.272, allocations: 475.2 kB / 1.007 GB, free: 9.07 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/1.284, allocations: 8.949 MB / 1.015 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/1.286, allocations: 307.5 kB / 1.016 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/1.286, allocations: 63.97 kB / 1.016 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/1.286, allocations: 4 kB / 1.016 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009382/1.296, allocations: 3.043 MB / 1.019 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/1.296, allocations: 8 kB / 1.019 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003066/1.299, allocations: 0.7637 MB / 1.02 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002297/1.301, allocations: 495.2 kB / 1.02 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009294/1.31, allocations: 6.931 MB / 1.027 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/1.313, allocations: 303.6 kB / 1.027 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/1.313, allocations: 59.97 kB / 1.027 GB, free: 3.219 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (124): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0007093/1.314, allocations: 361.6 kB / 1.027 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/1.314, allocations: 75.06 kB / 1.028 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/1.324, allocations: 3.121 MB / 1.031 GB, free: 15.63 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/1.324, allocations: 8 kB / 1.031 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.855e-05/1.324, allocations: 11.94 kB / 1.031 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/1.324, allocations: 3.984 kB / 1.031 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/1.337, allocations: 5.023 MB / 1.036 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/1.337, allocations: 4 kB / 1.036 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/1.339, allocations: 363.9 kB / 1.036 GB, free: 10.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004038/1.343, allocations: 1.006 MB / 1.037 GB, free: 9.07 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/1.343, allocations: 31.98 kB / 1.037 GB, free: 9.039 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/1.355, allocations: 8.665 MB / 1.045 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/1.355, allocations: 11.94 kB / 1.045 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009713/1.364, allocations: 3.254 MB / 1.049 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006865/1.365, allocations: 319.9 kB / 1.049 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/1.365, allocations: 24 kB / 1.049 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/1.367, allocations: 295.5 kB / 1.049 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/1.367, allocations: 87.77 kB / 1.049 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/1.368, allocations: 39.97 kB / 1.049 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000532/1.368, allocations: 378.8 kB / 1.05 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.9e-07/1.368, allocations: 0 / 1.05 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002141/1.37, allocations: 0.5078 MB / 1.05 GB, free: 10.83 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000282/1.371, allocations: 135 kB / 1.05 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01295/1.384, allocations: 4.846 MB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.384, allocations: 1.062 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004205/1.388, allocations: 1.745 MB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/1.389, allocations: 130.4 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.401, allocations: 3.594 MB / 1.06 GB, free: 144 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009464/1.402, allocations: 1.028 MB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002181/1.404, allocations: 0.4982 MB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/1.404, allocations: 79.36 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of SimCode: time 1.483e-06/1.404, allocations: 0 / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.03696/1.441, allocations: 20.54 MB / 1.082 GB, free: 10 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches