Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.002157/0.002157, allocations: 172.7 kB / 15.95 MB, free: 208 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.517/1.517, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.658/2.658, allocations: 409.4 MB / 0.684 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003898, allocations: 12 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.774/0.7744, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer): time 0.006067/0.7805, allocations: 4.593 MB / 0.9856 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006216/0.7868, allocations: 3.758 MB / 0.9893 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006316/0.7874, allocations: 11.94 kB / 0.9893 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.7878, allocations: 91.25 kB / 0.9894 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.7893, allocations: 0.5017 MB / 0.9899 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.7906, allocations: 366.1 kB / 0.9902 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001205/0.7918, allocations: 1.141 MB / 0.9913 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.793, allocations: 0.6408 MB / 0.992 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005465/0.7935, allocations: 346.6 kB / 0.9923 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007501/0.7943, allocations: 462.4 kB / 0.9927 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.765e-05/0.7944, allocations: 32 kB / 0.9928 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.7955, allocations: 479.3 kB / 0.9932 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003135/0.7958, allocations: 279.2 kB / 0.9935 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.796, allocations: 145.3 kB / 0.9936 GB, free: 9.363 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.797, allocations: 0.9451 MB / 0.9946 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.7971, allocations: 0 / 0.9946 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7971, allocations: 4 kB / 0.9946 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.7971, allocations: 4 kB / 0.9946 GB, free: 8.41 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.001706/0.7988, allocations: 0.9429 MB / 0.9955 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.7988, allocations: 8.031 kB / 0.9955 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/0.799, allocations: 122.5 kB / 0.9956 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007895/0.8069, allocations: 1.614 MB / 0.9972 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009469/0.8079, allocations: 0.5384 MB / 0.9977 GB, free: 5.09 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/0.8079, allocations: 53.3 kB / 0.9978 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.8081, allocations: 67.94 kB / 0.9978 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004404/0.8125, allocations: 1.829 MB / 0.9996 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.8126, allocations: 3.938 kB / 0.9996 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.8127, allocations: 31.92 kB / 0.9996 GB, free: 3.031 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002315/0.8129, allocations: 109.5 kB / 0.9998 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006947/0.8199, allocations: 2.476 MB / 1.002 GB, free: 456 kB / 0.7481 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.009048/0.829, allocations: 6.349 MB / 1.008 GB, free: 9.695 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/0.8322, allocations: 1.362 MB / 1.01 GB, free: 8.277 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002412/0.8346, allocations: 0.8948 MB / 1.011 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002931/0.8376, allocations: 2.154 MB / 1.013 GB, free: 5.117 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.8376, allocations: 54.44 kB / 1.013 GB, free: 5.055 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=69): time 2.565e-06/0.8377, allocations: 0 / 1.013 GB, free: 5.055 MB / 0.7637 GB Notification: Performance of matching and sorting (n=93): time 0.02114/0.8588, allocations: 6.625 MB / 1.019 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.8589, allocations: 199.9 kB / 1.019 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007675/0.8597, allocations: 0.5173 MB / 1.02 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001447/0.8599, allocations: 41.7 kB / 1.02 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.8602, allocations: 386.6 kB / 1.02 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000415/0.8606, allocations: 327.4 kB / 1.021 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.8608, allocations: 20 kB / 1.021 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000225/0.861, allocations: 382.8 kB / 1.021 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002736/0.8638, allocations: 0.9938 MB / 1.022 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002903/0.8667, allocations: 1.287 MB / 1.023 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002786/0.8695, allocations: 1.083 MB / 1.024 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.8695, allocations: 4 kB / 1.024 GB, free: 9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.009239/0.8788, allocations: 3.333 MB / 1.028 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003049/0.8791, allocations: 343.9 kB / 1.028 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.8791, allocations: 8 kB / 1.028 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004286/0.8834, allocations: 1.096 MB / 1.029 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/0.8856, allocations: 463.2 kB / 1.029 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/0.8986, allocations: 9.208 MB / 1.038 GB, free: 9.883 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.9008, allocations: 303.6 kB / 1.039 GB, free: 9.586 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002468/0.901, allocations: 64.52 kB / 1.039 GB, free: 9.523 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.901, allocations: 0 / 1.039 GB, free: 9.523 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00861/0.9097, allocations: 3.016 MB / 1.042 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/0.9097, allocations: 8 kB / 1.042 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002891/0.9126, allocations: 0.7632 MB / 1.042 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/0.9149, allocations: 483.4 kB / 1.043 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009225/0.9241, allocations: 6.935 MB / 1.05 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.9263, allocations: 295.4 kB / 1.05 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003203/0.9266, allocations: 67.95 kB / 1.05 GB, free: 13.55 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008798/0.9275, allocations: 352.9 kB / 1.05 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003597/0.9279, allocations: 71.11 kB / 1.05 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009231/0.9372, allocations: 3.094 MB / 1.053 GB, free: 10 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.21e-05/0.9372, allocations: 12 kB / 1.053 GB, free: 9.988 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/0.9373, allocations: 4 kB / 1.053 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-05/0.9373, allocations: 11.97 kB / 1.053 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/0.9495, allocations: 5.019 MB / 1.058 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/0.9495, allocations: 4 kB / 1.058 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/0.9511, allocations: 364 kB / 1.059 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003715/0.9549, allocations: 1.002 MB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001812/0.9551, allocations: 35.97 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01074/0.9658, allocations: 8.649 MB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/0.9659, allocations: 7.984 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008663/0.9745, allocations: 3.259 MB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006449/0.9752, allocations: 316 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.9754, allocations: 23.95 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.9771, allocations: 295.5 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/0.9774, allocations: 99.58 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.763e-05/0.9775, allocations: 35.97 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005191/0.978, allocations: 366.8 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9781, allocations: 4 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002249/0.9803, allocations: 0.5078 MB / 1.073 GB, free: 5.219 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.009107/0.9894, allocations: 3.823 MB / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01296/1.002, allocations: 4.963 MB / 1.082 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/1.003, allocations: 0 / 1.082 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.003975/1.006, allocations: 1.737 MB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/1.008, allocations: 121.6 kB / 1.083 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02627/1.034, allocations: 9.181 MB / 1.092 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/1.035, allocations: 1.04 MB / 1.093 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002354/1.038, allocations: 0.4906 MB / 1.094 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006477/1.038, allocations: 267.3 kB / 1.094 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of SimCode: time 2.795e-06/1.038, allocations: 3.938 kB / 1.094 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05429/1.093, allocations: 26.18 MB / 1.12 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/1.093, allocations: 262.4 kB / 1.12 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/3.622, allocations: 0 / 1.12 GB, free: 4.875 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat does not exist to compare? outputFormat=mat