Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_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.000848/0.0008481, allocations: 91.61 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.0009141/0.0009142, 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.357/1.357, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003552, allocations: 11.98 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7379/0.7383, allocations: 142.3 MB / 0.9539 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.004898/0.7433, allocations: 4.748 MB / 0.9585 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005813/0.7491, allocations: 3.814 MB / 0.9622 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000475/0.7496, allocations: 19.81 kB / 0.9622 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.7499, allocations: 97.39 kB / 0.9623 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.7511, allocations: 0.5086 MB / 0.9628 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.7524, allocations: 409.7 kB / 0.9632 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001377/0.7538, allocations: 1.321 MB / 0.9645 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.7549, allocations: 0.6742 MB / 0.9652 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006126/0.7555, allocations: 399.6 kB / 0.9655 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006789/0.7562, allocations: 0.5056 MB / 0.966 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.527e-05/0.7563, allocations: 35.75 kB / 0.9661 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.7574, allocations: 488.7 kB / 0.9665 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003267/0.7577, allocations: 307.8 kB / 0.9668 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.7579, allocations: 155.8 kB / 0.967 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.759, allocations: 1.024 MB / 0.968 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7591, allocations: 3.938 kB / 0.968 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7591, allocations: 0 / 0.968 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.7591, allocations: 0 / 0.968 GB, free: 13.73 MB / 0.7325 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.001787/0.7609, allocations: 1.023 MB / 0.969 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.7609, allocations: 9.531 kB / 0.969 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002071/0.7611, allocations: 117.1 kB / 0.9691 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008407/0.7695, allocations: 1.696 MB / 0.9708 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.7707, allocations: 0.6063 MB / 0.9714 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.212e-05/0.7707, allocations: 40.52 kB / 0.9714 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.7709, allocations: 62.47 kB / 0.9714 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004359/0.7753, allocations: 1.912 MB / 0.9733 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.7753, allocations: 5.938 kB / 0.9733 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.7754, allocations: 30.84 kB / 0.9734 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003099/0.7757, allocations: 148.4 kB / 0.9735 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006891/0.7826, allocations: 2.62 MB / 0.9761 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.7927, allocations: 6.657 MB / 0.9826 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/0.7957, allocations: 1.266 MB / 0.9838 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002211/0.798, allocations: 0.9044 MB / 0.9847 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002109/0.8001, allocations: 1.479 MB / 0.9861 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.8002, allocations: 46.56 kB / 0.9862 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=73): time 2.324e-06/0.8002, allocations: 0 / 0.9862 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=107): time 0.02466/0.8248, allocations: 8.231 MB / 0.9942 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.8249, allocations: 94.11 kB / 0.9943 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007055/0.8256, allocations: 0.573 MB / 0.9948 GB, free: 5.375 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.8258, allocations: 45.7 kB / 0.9949 GB, free: 5.324 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.8261, allocations: 415 kB / 0.9953 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.8264, allocations: 374.6 kB / 0.9956 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.606e-05/0.8265, allocations: 24 kB / 0.9957 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.8267, allocations: 386.8 kB / 0.996 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002576/0.8292, allocations: 1.111 MB / 0.9971 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00273/0.832, allocations: 1.456 MB / 0.9985 GB, free: 1.422 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/0.8347, allocations: 1.23 MB / 0.9997 GB, free: 192 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.8347, allocations: 0 / 0.9997 GB, free: 192 kB / 0.7481 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.009674/0.8444, allocations: 3.886 MB / 1.004 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002662/0.8447, allocations: 388.4 kB / 1.004 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.8447, allocations: 12 kB / 1.004 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004715/0.8495, allocations: 1.38 MB / 1.005 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.8514, allocations: 459.2 kB / 1.006 GB, free: 9.902 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/0.866, allocations: 11.23 MB / 1.017 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/0.8684, allocations: 311.6 kB / 1.017 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/0.8686, allocations: 63.97 kB / 1.017 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.8686, allocations: 4 kB / 1.017 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00916/0.8778, allocations: 3.569 MB / 1.021 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.594e-05/0.8779, allocations: 12 kB / 1.021 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003628/0.8815, allocations: 1.1 MB / 1.022 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.8835, allocations: 475.2 kB / 1.022 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/0.8963, allocations: 10.34 MB / 1.032 GB, free: 13.72 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/0.8985, allocations: 303.6 kB / 1.032 GB, free: 13.42 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/0.8989, allocations: 67.97 kB / 1.033 GB, free: 13.36 MB / 0.795 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.0008364/0.8997, allocations: 392.3 kB / 1.033 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.9, allocations: 83.06 kB / 1.033 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009929/0.91, allocations: 3.759 MB / 1.037 GB, free: 9.086 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.91, allocations: 15.98 kB / 1.037 GB, free: 9.07 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/0.91, allocations: 8 kB / 1.037 GB, free: 9.062 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.9101, allocations: 7.984 kB / 1.037 GB, free: 9.055 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/0.9223, allocations: 5.473 MB / 1.042 GB, free: 3.449 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.9224, allocations: 8.688 kB / 1.042 GB, free: 3.441 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/0.9238, allocations: 363.3 kB / 1.042 GB, free: 3.086 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00423/0.9281, allocations: 1.24 MB / 1.044 GB, free: 1.832 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/0.9283, allocations: 43.92 kB / 1.044 GB, free: 1.789 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/0.9425, allocations: 10.73 MB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.9426, allocations: 11.94 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009704/0.9523, allocations: 3.661 MB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007918/0.9531, allocations: 347.9 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002944/0.9534, allocations: 20 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/0.9553, allocations: 323.5 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/0.9556, allocations: 108.2 kB / 1.058 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.9558, allocations: 44.16 kB / 1.058 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006112/0.9564, allocations: 398.8 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9564, allocations: 0 / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002913/0.9593, allocations: 0.5977 MB / 1.059 GB, free: 0.9102 MB / 0.8106 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.01036/0.9697, allocations: 4.253 MB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01466/0.9844, allocations: 5.716 MB / 1.069 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/0.9845, allocations: 0 / 1.069 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.005249/0.9897, allocations: 2.111 MB / 1.071 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.9913, allocations: 162.8 kB / 1.071 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02671/1.018, allocations: 10.58 MB / 1.082 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009874/1.019, allocations: 1.106 MB / 1.083 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002191/1.021, allocations: 0.5422 MB / 1.083 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006201/1.022, allocations: 303.3 kB / 1.084 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of SimCode: time 8.92e-07/1.022, allocations: 0 / 1.084 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05952/1.081, allocations: 33.4 MB / 1.116 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/1.082, allocations: 242.5 kB / 1.116 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.634/3.716, allocations: 3.375 kB / 1.116 GB, free: 6.258 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat does not exist to compare? outputFormat=mat