Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001151, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001448/0.001448, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.3 MB / 0.6653 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003818, allocations: 8 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7778/0.7782, allocations: 142.3 MB / 0.9535 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer): time 0.005239/0.7835, allocations: 4.414 MB / 0.9578 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005727/0.7893, allocations: 3.668 MB / 0.9614 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007435/0.7901, allocations: 15 kB / 0.9614 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.7905, allocations: 88.77 kB / 0.9615 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.7923, allocations: 435.8 kB / 0.9619 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.7941, allocations: 370.7 kB / 0.9623 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001925/0.7961, allocations: 0.5694 MB / 0.9628 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.7979, allocations: 0.6473 MB / 0.9635 GB, free: 480 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000945/0.7989, allocations: 296.3 kB / 0.9638 GB, free: 312 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008305/0.7998, allocations: 350.6 kB / 0.9641 GB, free: 100 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.7999, allocations: 32.66 kB / 0.9641 GB, free: 100 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.8019, allocations: 458.3 kB / 0.9646 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004062/0.8023, allocations: 252.9 kB / 0.9648 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.8026, allocations: 145.9 kB / 0.9649 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.8045, allocations: 0.9328 MB / 0.9658 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.8045, allocations: 0 / 0.9658 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.958e-06/0.8045, allocations: 0 / 0.9658 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.8046, allocations: 1.062 kB / 0.9659 GB, free: 15.05 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.002844/0.8074, allocations: 0.935 MB / 0.9668 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.519e-05/0.8075, allocations: 9.656 kB / 0.9668 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/0.8199, allocations: 1.659 MB / 0.9684 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.8217, allocations: 0.536 MB / 0.9689 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/0.8218, allocations: 45.64 kB / 0.969 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.822, allocations: 68.38 kB / 0.969 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006823/0.8288, allocations: 1.828 MB / 0.9708 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/0.8289, allocations: 1.438 kB / 0.9708 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.8291, allocations: 26.73 kB / 0.9708 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003338/0.8294, allocations: 106.8 kB / 0.9709 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01157/0.841, allocations: 2.482 MB / 0.9734 GB, free: 10.67 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.01441/0.8555, allocations: 6.342 MB / 0.9796 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003903/0.8594, allocations: 1.339 MB / 0.9809 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003126/0.8626, allocations: 2.14 MB / 0.983 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.8626, allocations: 42.56 kB / 0.983 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=69): time 2.865e-06/0.8627, allocations: 0 / 0.983 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71): time 0.01248/0.8751, allocations: 4.074 MB / 0.987 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.8753, allocations: 195.8 kB / 0.9872 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006859/0.876, allocations: 0.5251 MB / 0.9877 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.942e-05/0.8761, allocations: 33.7 kB / 0.9877 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.8764, allocations: 390.4 kB / 0.9881 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/0.8767, allocations: 248.5 kB / 0.9883 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.8767, allocations: 20 kB / 0.9883 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.8769, allocations: 370.8 kB / 0.9887 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002494/0.8794, allocations: 0.8454 MB / 0.9895 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002648/0.8821, allocations: 1.118 MB / 0.9906 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002572/0.8847, allocations: 0.9101 MB / 0.9915 GB, free: 8.363 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.8847, allocations: 8 kB / 0.9915 GB, free: 8.355 MB / 0.7481 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.006948/0.8917, allocations: 2.39 MB / 0.9938 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.001519/0.8932, allocations: 3.224 MB / 0.997 GB, free: 2.473 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.275e-05/0.8933, allocations: 8 kB / 0.997 GB, free: 2.465 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/0.8951, allocations: 433.2 kB / 0.9974 GB, free: 2.035 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/0.8973, allocations: 459.1 kB / 0.9978 GB, free: 1.586 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006176/0.9035, allocations: 4.323 MB / 1.002 GB, free: 13 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.906, allocations: 291.4 kB / 1.002 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003164/0.9063, allocations: 55.97 kB / 1.002 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.9063, allocations: 4 kB / 1.002 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006432/0.9128, allocations: 2.08 MB / 1.004 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.806e-05/0.9129, allocations: 12 kB / 1.004 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003847/0.9133, allocations: 117.3 kB / 1.005 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/0.9154, allocations: 463.2 kB / 1.005 GB, free: 9.984 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.9176, allocations: 1.976 MB / 1.007 GB, free: 7.875 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.9196, allocations: 275.3 kB / 1.007 GB, free: 7.605 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/0.9199, allocations: 55.97 kB / 1.007 GB, free: 7.551 MB / 0.7637 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 (116): * Single equations (assignments): 114 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007617/0.9206, allocations: 336.8 kB / 1.008 GB, free: 7.211 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003284/0.921, allocations: 67.23 kB / 1.008 GB, free: 7.145 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006383/0.9274, allocations: 2.116 MB / 1.01 GB, free: 5.008 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.9274, allocations: 12 kB / 1.01 GB, free: 4.996 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.9274, allocations: 0 / 1.01 GB, free: 4.996 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.9275, allocations: 7.984 kB / 1.01 GB, free: 4.988 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00878/0.9362, allocations: 3.792 MB / 1.013 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.9363, allocations: 8.031 kB / 1.013 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/0.9379, allocations: 343.4 kB / 1.014 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.9392, allocations: 373.3 kB / 1.014 GB, free: 372 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.385e-05/0.9393, allocations: 27.97 kB / 1.014 GB, free: 344 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004998/0.9443, allocations: 4.182 MB / 1.018 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.9444, allocations: 4 kB / 1.018 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006808/0.9512, allocations: 2.534 MB / 1.021 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007632/0.952, allocations: 280.1 kB / 1.021 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/0.9522, allocations: 23.98 kB / 1.021 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/0.954, allocations: 255.6 kB / 1.021 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/0.9542, allocations: 67.81 kB / 1.021 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.273e-05/0.9543, allocations: 27.98 kB / 1.021 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000511/0.9548, allocations: 366.8 kB / 1.022 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9548, allocations: 0 / 1.022 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00212/0.9569, allocations: 424 kB / 1.022 GB, free: 7.734 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (58): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002959/0.9572, allocations: 131.1 kB / 1.022 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.009312/0.9665, allocations: 3.41 MB / 1.026 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/0.9666, allocations: 5 kB / 1.026 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003304/0.9699, allocations: 1.228 MB / 1.027 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008893/0.9708, allocations: 100.1 kB / 1.027 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009852/0.9807, allocations: 3.162 MB / 1.03 GB, free: 15.55 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007029/0.9814, allocations: 0.9953 MB / 1.031 GB, free: 14.52 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002061/0.9835, allocations: 495.2 kB / 1.031 GB, free: 14.04 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/0.9839, allocations: 75.38 kB / 1.031 GB, free: 13.96 MB / 0.795 GB Notification: Performance of SimCode: time 4.61e-07/0.9839, allocations: 0 / 1.031 GB, free: 13.96 MB / 0.795 GB Notification: Performance of Templates: time 0.0238/1.008, allocations: 12.96 MB / 1.044 GB, free: 1.035 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches