Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.OnePhase.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_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.001021/0.001021, allocations: 86.09 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.001261/0.001261, 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.433/1.433, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.517/2.517, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004836, allocations: 12 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6947, allocations: 146.8 MB / 0.9812 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.005642/0.7004, allocations: 4.504 MB / 0.9856 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00562/0.706, allocations: 3.747 MB / 0.9892 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003385/0.7064, allocations: 15.88 kB / 0.9892 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.7067, allocations: 87.31 kB / 0.9893 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.7079, allocations: 0.5056 MB / 0.9898 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008914/0.7088, allocations: 355.2 kB / 0.9901 GB, free: 13 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.71, allocations: 1.141 MB / 0.9913 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.7111, allocations: 0.6369 MB / 0.9919 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004326/0.7115, allocations: 342.6 kB / 0.9922 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006309/0.7121, allocations: 462.4 kB / 0.9926 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.953e-05/0.7122, allocations: 32 kB / 0.9927 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008735/0.7131, allocations: 479.3 kB / 0.9931 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002664/0.7134, allocations: 283.2 kB / 0.9934 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.7135, allocations: 145.3 kB / 0.9935 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009261/0.7144, allocations: 0.9412 MB / 0.9945 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.7145, allocations: 0 / 0.9945 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7145, allocations: 0 / 0.9945 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.7145, allocations: 4 kB / 0.9945 GB, free: 8.527 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.001592/0.7161, allocations: 0.9507 MB / 0.9954 GB, free: 7.527 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.7161, allocations: 8.031 kB / 0.9954 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.7163, allocations: 110.5 kB / 0.9955 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00785/0.7241, allocations: 1.621 MB / 0.9971 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009116/0.7251, allocations: 0.5378 MB / 0.9976 GB, free: 5.199 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.7251, allocations: 49.3 kB / 0.9977 GB, free: 5.148 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.7253, allocations: 63.94 kB / 0.9977 GB, free: 5.086 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004153/0.7294, allocations: 1.829 MB / 0.9995 GB, free: 3.184 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.7295, allocations: 7.938 kB / 0.9995 GB, free: 3.176 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.845e-05/0.7296, allocations: 23.98 kB / 0.9995 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000195/0.7298, allocations: 109.5 kB / 0.9996 GB, free: 3.047 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006493/0.7363, allocations: 2.476 MB / 1.002 GB, free: 0.5703 MB / 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.00819/0.7445, allocations: 6.361 MB / 1.008 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/0.7476, allocations: 1.363 MB / 1.01 GB, free: 8.395 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002183/0.7498, allocations: 0.9026 MB / 1.01 GB, free: 7.473 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002469/0.7523, allocations: 2.158 MB / 1.013 GB, free: 5.223 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.7523, allocations: 46.5 kB / 1.013 GB, free: 5.168 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=69): time 2.505e-06/0.7523, allocations: 0 / 1.013 GB, free: 5.168 MB / 0.7637 GB Notification: Performance of matching and sorting (n=93): time 0.01969/0.772, allocations: 6.624 MB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.139e-05/0.7721, allocations: 199.9 kB / 1.019 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006231/0.7728, allocations: 0.5211 MB / 1.02 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.7729, allocations: 37.7 kB / 1.02 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.7731, allocations: 390.8 kB / 1.02 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.7734, allocations: 323.4 kB / 1.021 GB, free: 13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.7735, allocations: 24 kB / 1.021 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.7737, allocations: 374.8 kB / 1.021 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002476/0.7762, allocations: 0.9977 MB / 1.022 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002821/0.779, allocations: 1.283 MB / 1.023 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002794/0.7818, allocations: 1.09 MB / 1.024 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.7819, allocations: 4 kB / 1.024 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.009145/0.791, allocations: 3.334 MB / 1.027 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003119/0.7914, allocations: 335.6 kB / 1.028 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.7914, allocations: 8 kB / 1.028 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003986/0.7954, allocations: 1.096 MB / 1.029 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/0.7973, allocations: 463.2 kB / 1.029 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/0.8088, allocations: 9.206 MB / 1.038 GB, free: 10 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.8107, allocations: 303.5 kB / 1.039 GB, free: 9.703 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.8109, allocations: 67.91 kB / 1.039 GB, free: 9.637 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/0.8109, allocations: 4 kB / 1.039 GB, free: 9.633 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007903/0.8188, allocations: 3.012 MB / 1.042 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/0.8189, allocations: 11.98 kB / 1.042 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002695/0.8216, allocations: 0.7597 MB / 1.042 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/0.8237, allocations: 495.2 kB / 1.043 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008432/0.8322, allocations: 6.912 MB / 1.05 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.8339, allocations: 303.5 kB / 1.05 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.834, allocations: 63.95 kB / 1.05 GB, free: 13.67 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.0005089/0.8346, allocations: 348.8 kB / 1.05 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.8348, allocations: 79.09 kB / 1.05 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008412/0.8432, allocations: 3.09 MB / 1.053 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.8433, allocations: 12 kB / 1.053 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.8433, allocations: 8 kB / 1.053 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/0.8433, allocations: 7.984 kB / 1.053 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.8541, allocations: 5.023 MB / 1.058 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.8541, allocations: 4 kB / 1.058 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/0.8556, allocations: 359.4 kB / 1.059 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003579/0.8592, allocations: 1.014 MB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001855/0.8594, allocations: 31.97 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.8699, allocations: 8.645 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.8699, allocations: 11.94 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008599/0.8785, allocations: 3.247 MB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005761/0.8792, allocations: 304 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.8793, allocations: 35.94 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.8809, allocations: 287.5 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/0.8812, allocations: 95.64 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.314e-05/0.8813, allocations: 39.97 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004744/0.8818, allocations: 370.8 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8818, allocations: 0 / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001897/0.8837, allocations: 0.5039 MB / 1.073 GB, free: 5.359 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.00837/0.8921, allocations: 3.827 MB / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01151/0.9036, allocations: 4.966 MB / 1.081 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.9037, allocations: 0 / 1.081 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.003574/0.9073, allocations: 1.738 MB / 1.083 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.9083, allocations: 114.9 kB / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03437/0.9427, allocations: 9.18 MB / 1.092 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.9439, allocations: 1.044 MB / 1.093 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.003367/0.9472, allocations: 495.1 kB / 1.094 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008041/0.9481, allocations: 267.3 kB / 1.094 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of SimCode: time 9.92e-07/0.9481, allocations: 0 / 1.094 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05275/1.001, allocations: 26.14 MB / 1.119 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/1.001, allocations: 245.1 kB / 1.12 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/3.467, allocations: 0 / 1.12 GB, free: 5.105 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat does not exist to compare? outputFormat=mat