Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.ThreePhasesUnbalanced.Conversion.Examples.Converter,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.0009997, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00167/0.00167, allocations: 168.7 kB / 15.95 MB, free: 204 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.485/1.485, allocations: 223.3 MB / 240 MB, free: 5.434 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.506/2.506, allocations: 390.9 MB / 0.666 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003771, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7999/0.8002, allocations: 142.4 MB / 0.9544 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01743/0.8177, allocations: 14.92 MB / 0.969 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.8278, allocations: 5.383 MB / 0.9743 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.8292, allocations: 33.62 kB / 0.9743 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.8304, allocations: 289.1 kB / 0.9746 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.8327, allocations: 0.6341 MB / 0.9752 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.8352, allocations: 0.6081 MB / 0.9758 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005414/0.8406, allocations: 4.569 MB / 0.9803 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01092/0.8516, allocations: 5.899 MB / 0.986 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/0.8544, allocations: 1.203 MB / 0.9872 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003382/0.8578, allocations: 1.757 MB / 0.9889 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009074/0.8587, allocations: 180 kB / 0.9891 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.8609, allocations: 0.5853 MB / 0.9897 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002748/0.8637, allocations: 1.364 MB / 0.991 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001931/0.8656, allocations: 0.5161 MB / 0.9915 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.007191/0.8728, allocations: 5.079 MB / 0.9964 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.8729, allocations: 0 / 0.9964 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.216e-06/0.8729, allocations: 0 / 0.9964 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002463/0.8732, allocations: 0 / 0.9964 GB, free: 4.34 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.006952/0.8801, allocations: 2.259 MB / 0.9987 GB, free: 2.02 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.8802, allocations: 8.031 kB / 0.9987 GB, free: 2.012 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004164/0.8843, allocations: 0.6644 MB / 0.9993 GB, free: 1.344 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003824/0.8882, allocations: 1.406 MB / 1.001 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002274/0.8884, allocations: 217.5 kB / 1.001 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/0.8895, allocations: 271.9 kB / 1.001 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/0.9012, allocations: 4.692 MB / 1.006 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.023e-05/0.9014, allocations: 3.938 kB / 1.006 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006244/0.902, allocations: 119.9 kB / 1.006 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001833/0.9022, allocations: 148.6 kB / 1.006 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00784/0.91, allocations: 4.07 MB / 1.01 GB, free: 6.277 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02453/0.9346, allocations: 20.29 MB / 1.03 GB, free: 20 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003218/0.9379, allocations: 1.901 MB / 1.032 GB, free: 13.97 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.9391, allocations: 0.7509 MB / 1.032 GB, free: 13.21 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.9393, allocations: 105.7 kB / 1.032 GB, free: 13.09 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.9394, allocations: 43.22 kB / 1.033 GB, free: 13.04 MB / 0.795 GB Notification: Performance of pre-optimization done (n=77): time 6.011e-06/0.9394, allocations: 0 / 1.033 GB, free: 13.04 MB / 0.795 GB Notification: Performance of matching and sorting (n=92): time 0.01918/0.9586, allocations: 5.287 MB / 1.038 GB, free: 7.734 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.363e-05/0.9587, allocations: 141.5 kB / 1.038 GB, free: 7.566 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.9601, allocations: 0.9645 MB / 1.039 GB, free: 6.594 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-05/0.9602, allocations: 41.7 kB / 1.039 GB, free: 6.547 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007971/0.961, allocations: 1.183 MB / 1.04 GB, free: 5.344 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003582/0.9614, allocations: 327.5 kB / 1.04 GB, free: 5.02 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.9615, allocations: 36 kB / 1.04 GB, free: 4.984 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000226/0.9617, allocations: 406.8 kB / 1.041 GB, free: 4.578 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.9631, allocations: 0.851 MB / 1.042 GB, free: 3.727 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.9648, allocations: 1.495 MB / 1.043 GB, free: 1.941 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.9665, allocations: 1.182 MB / 1.044 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.182e-05/0.9666, allocations: 4 kB / 1.044 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003975/0.9706, allocations: 2.488 MB / 1.047 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007945/0.9714, allocations: 0.7063 MB / 1.047 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.637e-05/0.9714, allocations: 24 kB / 1.047 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.637e-05/0.9715, allocations: 32 kB / 1.047 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/0.9738, allocations: 0.5147 MB / 1.048 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-05/0.9738, allocations: 43.86 kB / 1.048 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.975, allocations: 155.6 kB / 1.048 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/0.9752, allocations: 87.98 kB / 1.048 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.9752, allocations: 5.562 kB / 1.048 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003598/0.9788, allocations: 2.374 MB / 1.05 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.395e-05/0.9789, allocations: 23.94 kB / 1.05 GB, free: 10 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.287e-05/0.9789, allocations: 32 kB / 1.05 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/0.981, allocations: 0.5156 MB / 1.051 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.722e-05/0.981, allocations: 47.84 kB / 1.051 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009012/0.982, allocations: 135.6 kB / 1.051 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.9821, allocations: 83.98 kB / 1.051 GB, free: 9.195 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002078/0.9842, allocations: 1.23 MB / 1.052 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.9844, allocations: 90.97 kB / 1.053 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/0.9873, allocations: 1.832 MB / 1.054 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.9873, allocations: 11.95 kB / 1.054 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.9873, allocations: 11.94 kB / 1.054 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.9873, allocations: 7.969 kB / 1.054 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/0.9984, allocations: 9.046 MB / 1.063 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/0.9985, allocations: 15.98 kB / 1.063 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.9995, allocations: 251.7 kB / 1.063 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.397e-05/0.9996, allocations: 16 kB / 1.063 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.11e-05/0.9996, allocations: 35.95 kB / 1.063 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-05/0.9997, allocations: 27.86 kB / 1.063 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/0.9997, allocations: 15.94 kB / 1.064 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/1.002, allocations: 1.755 MB / 1.065 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005714/1.002, allocations: 323.9 kB / 1.066 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/1.003, allocations: 31.98 kB / 1.066 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/1.003, allocations: 75.86 kB / 1.066 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/1.004, allocations: 91.64 kB / 1.066 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/1.004, allocations: 36 kB / 1.066 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001109/1.005, allocations: 0.7215 MB / 1.066 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/1.005, allocations: 0 / 1.066 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003631/1.008, allocations: 0.8047 MB / 1.067 GB, free: 7.555 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003695/1.009, allocations: 178.7 kB / 1.067 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004759/1.014, allocations: 2.948 MB / 1.07 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/1.014, allocations: 0 / 1.07 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008275/1.014, allocations: 0.5706 MB / 1.071 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/1.016, allocations: 175.9 kB / 1.071 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009457/1.025, allocations: 5.331 MB / 1.076 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002824/1.028, allocations: 2.105 MB / 1.078 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002911/1.031, allocations: 1.027 MB / 1.079 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000395/1.032, allocations: 99.41 kB / 1.079 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of SimCode: time 7.51e-07/1.032, allocations: 0 / 1.079 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of Templates: time 0.02737/1.059, allocations: 13.75 MB / 1.093 GB, free: 13.25 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches