Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.ACACTransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",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.0008333/0.0008334, allocations: 86.17 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.0008624/0.0008627, 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.503/1.503, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.616/2.616, allocations: 409.4 MB / 0.684 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 8 kB / 0.8378 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7771/0.7775, allocations: 146.8 MB / 0.9811 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.005877/0.7834, allocations: 4.832 MB / 0.9859 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006647/0.79, allocations: 3.83 MB / 0.9896 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006342/0.7907, allocations: 19.88 kB / 0.9896 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.7911, allocations: 99.23 kB / 0.9897 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.7927, allocations: 0.5133 MB / 0.9902 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.7941, allocations: 415 kB / 0.9906 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.7956, allocations: 1.326 MB / 0.9919 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.7968, allocations: 0.6526 MB / 0.9925 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005614/0.7974, allocations: 394.5 kB / 0.9929 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007872/0.7982, allocations: 0.5099 MB / 0.9934 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.312e-05/0.7983, allocations: 36 kB / 0.9935 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.7994, allocations: 495.3 kB / 0.9939 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000361/0.7998, allocations: 303.2 kB / 0.9942 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.8, allocations: 157.3 kB / 0.9944 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.8013, allocations: 1.031 MB / 0.9954 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8013, allocations: 0 / 0.9954 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8013, allocations: 0 / 0.9954 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.8013, allocations: 0 / 0.9954 GB, free: 7.555 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.001839/0.8032, allocations: 1.028 MB / 0.9964 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.8032, allocations: 8.031 kB / 0.9964 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001518/0.8034, allocations: 114.5 kB / 0.9965 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008383/0.8118, allocations: 1.703 MB / 0.9982 GB, free: 4.641 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.813, allocations: 0.5953 MB / 0.9987 GB, free: 4.004 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.455e-05/0.8131, allocations: 45.3 kB / 0.9988 GB, free: 3.957 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.8133, allocations: 67.77 kB / 0.9988 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00421/0.8175, allocations: 1.909 MB / 1.001 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.115e-05/0.8175, allocations: 3.938 kB / 1.001 GB, free: 1.914 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.8176, allocations: 27.98 kB / 1.001 GB, free: 1.887 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003094/0.818, allocations: 153.4 kB / 1.001 GB, free: 1.734 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006923/0.8249, allocations: 2.616 MB / 1.003 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009951/0.8349, allocations: 6.661 MB / 1.01 GB, free: 8.09 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002884/0.8378, allocations: 1.26 MB / 1.011 GB, free: 6.812 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002211/0.84, allocations: 0.8999 MB / 1.012 GB, free: 5.906 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002056/0.8421, allocations: 1.487 MB / 1.014 GB, free: 4.359 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.8421, allocations: 58.31 kB / 1.014 GB, free: 4.293 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=73): time 2.094e-06/0.8421, allocations: 0 / 1.014 GB, free: 4.293 MB / 0.7637 GB Notification: Performance of matching and sorting (n=107): time 0.02487/0.867, allocations: 8.228 MB / 1.022 GB, free: 12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.8672, allocations: 94.11 kB / 1.022 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008513/0.868, allocations: 0.5731 MB / 1.022 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.8682, allocations: 41.7 kB / 1.022 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.8685, allocations: 419 kB / 1.023 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003757/0.8689, allocations: 366.7 kB / 1.023 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.886e-05/0.869, allocations: 24 kB / 1.023 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002188/0.8692, allocations: 390.8 kB / 1.023 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002681/0.8719, allocations: 1.103 MB / 1.025 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002864/0.8748, allocations: 1.46 MB / 1.026 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002772/0.8776, allocations: 1.222 MB / 1.027 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.8776, allocations: 3.984 kB / 1.027 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01001/0.8876, allocations: 3.889 MB / 1.031 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003875/0.888, allocations: 400.4 kB / 1.031 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/0.8881, allocations: 15.95 kB / 1.031 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00484/0.8929, allocations: 1.373 MB / 1.033 GB, free: 292 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/0.8949, allocations: 463.2 kB / 1.033 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01509/0.91, allocations: 11.23 MB / 1.044 GB, free: 4.074 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/0.9122, allocations: 319.6 kB / 1.044 GB, free: 3.762 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/0.9124, allocations: 60.17 kB / 1.044 GB, free: 3.703 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.9124, allocations: 11.88 kB / 1.044 GB, free: 3.691 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008994/0.9214, allocations: 3.569 MB / 1.048 GB, free: 108 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.051e-05/0.9215, allocations: 12 kB / 1.048 GB, free: 96 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003759/0.9253, allocations: 1.092 MB / 1.049 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/0.9274, allocations: 475.2 kB / 1.049 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/0.9403, allocations: 10.33 MB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.9424, allocations: 303.6 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.9426, allocations: 67.97 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * 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%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007404/0.9433, allocations: 380.6 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.9436, allocations: 86.97 kB / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/0.9536, allocations: 3.758 MB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.9537, allocations: 15.94 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.369e-05/0.9537, allocations: 15.92 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/0.9538, allocations: 8.078 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/0.9663, allocations: 5.479 MB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.9664, allocations: 8.672 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.9679, allocations: 359.4 kB / 1.07 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004222/0.9722, allocations: 1.248 MB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/0.9723, allocations: 35.97 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/0.9861, allocations: 10.73 MB / 1.082 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.12e-05/0.9861, allocations: 8 kB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009239/0.9954, allocations: 3.665 MB / 1.085 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007204/0.9961, allocations: 347.8 kB / 1.085 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.9963, allocations: 20 kB / 1.085 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/0.9982, allocations: 320 kB / 1.086 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003799/0.9986, allocations: 108.1 kB / 1.086 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.9987, allocations: 47.97 kB / 1.086 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007401/0.9994, allocations: 398.8 kB / 1.086 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9994, allocations: 4 kB / 1.086 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002627/1.002, allocations: 0.5938 MB / 1.087 GB, free: 6.84 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * 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 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.009475/1.012, allocations: 4.28 MB / 1.091 GB, free: 2.445 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01355/1.025, allocations: 5.697 MB / 1.097 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.025, allocations: 0 / 1.097 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.004909/1.03, allocations: 2.115 MB / 1.099 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/1.031, allocations: 157.2 kB / 1.099 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.025/1.056, allocations: 10.59 MB / 1.109 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009535/1.057, allocations: 1.11 MB / 1.11 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002253/1.06, allocations: 0.5422 MB / 1.111 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005936/1.06, allocations: 299.3 kB / 1.111 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of SimCode: time 1.032e-06/1.06, allocations: 3.938 kB / 1.111 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06317/1.124, allocations: 33.43 MB / 1.144 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/1.124, allocations: 257.4 kB / 1.144 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.655/3.779, allocations: 0 / 1.144 GB, free: 12.05 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat does not exist to compare? outputFormat=mat