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.001541/0.001541, 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.002373/0.002374, 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 2.593/2.593, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.539/4.539, allocations: 409.2 MB / 0.6838 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005334/0.0005335, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195/1.195, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.00911/1.205, allocations: 4.348 MB / 0.9851 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009684/1.214, allocations: 3.669 MB / 0.9887 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008115/1.215, allocations: 19.88 kB / 0.9887 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0004993/1.216, allocations: 79.44 kB / 0.9888 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002887/1.219, allocations: 458.5 kB / 0.9892 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002066/1.221, allocations: 359.1 kB / 0.9896 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001597/1.222, allocations: 0.5658 MB / 0.9901 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002061/1.225, allocations: 0.6382 MB / 0.9908 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000824/1.225, allocations: 298.9 kB / 0.991 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009322/1.226, allocations: 358.7 kB / 0.9914 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000124/1.226, allocations: 32 kB / 0.9914 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/1.228, allocations: 447.3 kB / 0.9918 GB, free: 11 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005107/1.229, allocations: 251.3 kB / 0.9921 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002927/1.229, allocations: 149.3 kB / 0.9922 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/1.232, allocations: 0.9372 MB / 0.9931 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.232, allocations: 0 / 0.9931 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of FrontEnd: time 4.208e-06/1.232, allocations: 0 / 0.9931 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.226e-05/1.232, allocations: 0 / 0.9931 GB, free: 9.664 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.003288/1.235, allocations: 0.943 MB / 0.9941 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.519e-05/1.235, allocations: 8.031 kB / 0.9941 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002568/1.235, allocations: 118.5 kB / 0.9942 GB, free: 8.539 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01928/1.255, allocations: 1.653 MB / 0.9958 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002505/1.257, allocations: 0.5339 MB / 0.9963 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/1.257, allocations: 45.3 kB / 0.9964 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000545/1.258, allocations: 63.94 kB / 0.9964 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/1.268, allocations: 1.825 MB / 0.9982 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.488e-05/1.269, allocations: 8 kB / 0.9982 GB, free: 4.293 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003459/1.269, allocations: 23.98 kB / 0.9982 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005068/1.27, allocations: 105.5 kB / 0.9983 GB, free: 4.168 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01364/1.283, allocations: 2.48 MB / 1.001 GB, free: 1.688 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.01083/1.294, allocations: 6.369 MB / 1.007 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003751/1.298, allocations: 1.351 MB / 1.008 GB, free: 9.512 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002982/1.301, allocations: 2.159 MB / 1.01 GB, free: 7.262 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/1.301, allocations: 50.48 kB / 1.01 GB, free: 7.203 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=69): time 3.155e-06/1.301, allocations: 0 / 1.01 GB, free: 7.203 MB / 0.7637 GB Notification: Performance of matching and sorting (n=93): time 0.04216/1.343, allocations: 6.62 MB / 1.017 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/1.343, allocations: 191.9 kB / 1.017 GB, free: 336 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/1.345, allocations: 0.5211 MB / 1.018 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0003167/1.345, allocations: 41.7 kB / 1.018 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004529/1.345, allocations: 386.8 kB / 1.018 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007157/1.346, allocations: 323.3 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/1.346, allocations: 23.94 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002714/1.347, allocations: 386.8 kB / 1.019 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005897/1.353, allocations: 0.9898 MB / 1.02 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006391/1.359, allocations: 1.283 MB / 1.021 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00633/1.365, allocations: 1.094 MB / 1.022 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/1.365, allocations: 4 kB / 1.022 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.02015/1.386, allocations: 3.337 MB / 1.025 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.001706/1.387, allocations: 3.223 MB / 1.028 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.541e-05/1.387, allocations: 8 kB / 1.028 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005685/1.393, allocations: 1.092 MB / 1.029 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003563/1.397, allocations: 463.2 kB / 1.03 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/1.415, allocations: 9.439 MB / 1.039 GB, free: 8.777 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/1.418, allocations: 307.4 kB / 1.039 GB, free: 8.477 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002433/1.418, allocations: 59.97 kB / 1.039 GB, free: 8.418 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/1.418, allocations: 4 kB / 1.04 GB, free: 8.414 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009686/1.428, allocations: 3.02 MB / 1.042 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/1.428, allocations: 8 kB / 1.042 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003207/1.431, allocations: 0.7555 MB / 1.043 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/1.434, allocations: 483.2 kB / 1.044 GB, free: 4.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009456/1.443, allocations: 7.096 MB / 1.051 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/1.446, allocations: 295.4 kB / 1.051 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/1.446, allocations: 67.95 kB / 1.051 GB, free: 12.29 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.0006481/1.446, allocations: 365.8 kB / 1.051 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/1.447, allocations: 71.16 kB / 1.051 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/1.457, allocations: 3.09 MB / 1.054 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/1.458, allocations: 15.95 kB / 1.054 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.922e-05/1.458, allocations: 4 kB / 1.054 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.586e-05/1.458, allocations: 7.984 kB / 1.054 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/1.475, allocations: 5.023 MB / 1.059 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/1.475, allocations: 4 kB / 1.059 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002805/1.478, allocations: 364 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006467/1.485, allocations: 0.9986 MB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003259/1.485, allocations: 35.97 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0202/1.505, allocations: 8.884 MB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.739e-05/1.505, allocations: 11.94 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0188/1.524, allocations: 3.495 MB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001428/1.526, allocations: 323.9 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003266/1.526, allocations: 16 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003949/1.53, allocations: 299.5 kB / 1.073 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000581/1.53, allocations: 95.62 kB / 1.073 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/1.531, allocations: 43.97 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009672/1.532, allocations: 366.8 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.41e-07/1.532, allocations: 0 / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004154/1.536, allocations: 0.5039 MB / 1.074 GB, free: 3.34 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.02093/1.557, allocations: 5.595 MB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02201/1.579, allocations: 4.963 MB / 1.085 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/1.579, allocations: 0 / 1.085 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.005897/1.585, allocations: 1.734 MB / 1.086 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/1.586, allocations: 103.1 kB / 1.086 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04654/1.633, allocations: 14.63 MB / 1.101 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/1.634, allocations: 1.051 MB / 1.102 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.003511/1.638, allocations: 0.4909 MB / 1.102 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008839/1.639, allocations: 271.3 kB / 1.102 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of SimCode: time 1.493e-06/1.639, allocations: 4 kB / 1.102 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/1.741, allocations: 26.1 MB / 1.128 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003651/1.741, allocations: 236.9 kB / 1.128 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.574/6.316, allocations: 3.625 kB / 1.128 GB, free: 11.8 MB / 0.8887 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