Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.ACACTransformer,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_9_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.001317/0.001317, allocations: 87.03 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.001957/0.001957, 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.509/1.509, allocations: 223.3 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.516/2.516, allocations: 390.4 MB / 0.6655 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003308, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7471/0.7474, allocations: 142.3 MB / 0.9539 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.004437/0.7519, allocations: 4.504 MB / 0.9583 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005135/0.7571, allocations: 3.74 MB / 0.9619 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004497/0.7576, allocations: 15.53 kB / 0.9619 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.7579, allocations: 88.44 kB / 0.962 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.7592, allocations: 0.5083 MB / 0.9625 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.7603, allocations: 358.4 kB / 0.9629 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.7615, allocations: 1.145 MB / 0.964 GB, free: 340 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.7627, allocations: 0.6435 MB / 0.9646 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005283/0.7632, allocations: 342.8 kB / 0.9649 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006456/0.7639, allocations: 468.5 kB / 0.9654 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.865e-05/0.764, allocations: 31.44 kB / 0.9654 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.7652, allocations: 487 kB / 0.9659 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004074/0.7657, allocations: 270.8 kB / 0.9661 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.7659, allocations: 145.4 kB / 0.9663 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.7675, allocations: 0.9413 MB / 0.9672 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.7675, allocations: 0 / 0.9672 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7675, allocations: 0.7188 kB / 0.9672 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.7675, allocations: 0 / 0.9672 GB, free: 14.34 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.002286/0.7698, allocations: 0.9474 MB / 0.9681 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.7699, allocations: 10.03 kB / 0.9681 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.77, allocations: 116.4 kB / 0.9682 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008301/0.7783, allocations: 1.619 MB / 0.9698 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.7795, allocations: 0.5352 MB / 0.9703 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.7796, allocations: 45.52 kB / 0.9704 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.7797, allocations: 60.14 kB / 0.9704 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004802/0.7845, allocations: 1.832 MB / 0.9722 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.7846, allocations: 5.25 kB / 0.9722 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.7847, allocations: 35.95 kB / 0.9723 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002604/0.785, allocations: 111.1 kB / 0.9724 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007164/0.7922, allocations: 2.472 MB / 0.9748 GB, free: 9.863 MB / 0.7325 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.01013/0.8023, allocations: 6.369 MB / 0.981 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003149/0.8055, allocations: 1.349 MB / 0.9823 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/0.8077, allocations: 0.8948 MB / 0.9832 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002496/0.8102, allocations: 2.162 MB / 0.9853 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.8103, allocations: 46.5 kB / 0.9853 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=69): time 3.657e-06/0.8103, allocations: 0 / 0.9853 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=93): time 0.02024/0.8305, allocations: 6.637 MB / 0.9918 GB, free: 8.449 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.8307, allocations: 195.8 kB / 0.992 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/0.8313, allocations: 0.5134 MB / 0.9925 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.312e-05/0.8314, allocations: 41.7 kB / 0.9926 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.8317, allocations: 390.7 kB / 0.9929 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.832, allocations: 323.4 kB / 0.9932 GB, free: 6.934 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.921e-05/0.8321, allocations: 24 kB / 0.9933 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.8323, allocations: 382.7 kB / 0.9936 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002477/0.8347, allocations: 0.9938 MB / 0.9946 GB, free: 5.531 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002574/0.8373, allocations: 1.287 MB / 0.9959 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002584/0.8399, allocations: 1.087 MB / 0.9969 GB, free: 3.047 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.84, allocations: 7.938 kB / 0.9969 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008745/0.8487, allocations: 3.326 MB / 1 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002253/0.849, allocations: 339.3 kB / 1 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.849, allocations: 8 kB / 1.001 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003964/0.853, allocations: 1.099 MB / 1.002 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/0.8549, allocations: 459.3 kB / 1.002 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.8661, allocations: 9.198 MB / 1.011 GB, free: 3.941 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/0.8681, allocations: 311.4 kB / 1.011 GB, free: 3.637 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.8682, allocations: 55.97 kB / 1.011 GB, free: 3.582 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/0.8682, allocations: 8.062 kB / 1.011 GB, free: 3.574 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007813/0.876, allocations: 3.012 MB / 1.014 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.8761, allocations: 8.547 kB / 1.014 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003027/0.8791, allocations: 0.7674 MB / 1.015 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/0.8811, allocations: 491.2 kB / 1.016 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008529/0.8897, allocations: 6.911 MB / 1.022 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.8916, allocations: 311.4 kB / 1.023 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002544/0.8919, allocations: 67.89 kB / 1.023 GB, free: 7.602 MB / 0.7794 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.0007158/0.8926, allocations: 352.7 kB / 1.023 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/0.8929, allocations: 71.16 kB / 1.023 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008807/0.9017, allocations: 3.09 MB / 1.026 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/0.9018, allocations: 12 kB / 1.026 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/0.9018, allocations: 4 kB / 1.026 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.9018, allocations: 11.98 kB / 1.026 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/0.9135, allocations: 5.02 MB / 1.031 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/0.9135, allocations: 4 kB / 1.031 GB, free: 14.87 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/0.915, allocations: 360 kB / 1.031 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003523/0.9186, allocations: 1.01 MB / 1.032 GB, free: 13.5 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.9187, allocations: 31.97 kB / 1.032 GB, free: 13.46 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009641/0.9284, allocations: 8.653 MB / 1.041 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.9284, allocations: 4 kB / 1.041 GB, free: 4.273 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008581/0.937, allocations: 3.254 MB / 1.044 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006614/0.9377, allocations: 308.1 kB / 1.044 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.938, allocations: 23.98 kB / 1.044 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/0.9397, allocations: 291.5 kB / 1.045 GB, free: 300 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002844/0.94, allocations: 95.73 kB / 1.045 GB, free: 204 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.9401, allocations: 39.97 kB / 1.045 GB, free: 164 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005119/0.9407, allocations: 366.8 kB / 1.045 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9407, allocations: 0 / 1.045 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00229/0.943, allocations: 0.5117 MB / 1.046 GB, free: 15.29 MB / 0.8106 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.008638/0.9516, allocations: 3.83 MB / 1.049 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01206/0.9637, allocations: 4.955 MB / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/0.9638, allocations: 0 / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.003748/0.9675, allocations: 1.734 MB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.9689, allocations: 119.6 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02512/0.9941, allocations: 9.189 MB / 1.065 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009922/0.9951, allocations: 1.036 MB / 1.066 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002238/0.9974, allocations: 494.2 kB / 1.066 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005994/0.998, allocations: 275.2 kB / 1.067 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of SimCode: time 1.242e-06/0.998, allocations: 0 / 1.067 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05444/1.052, allocations: 26.13 MB / 1.092 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/1.053, allocations: 244.2 kB / 1.092 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.388/3.441, allocations: 0 / 1.092 GB, free: 15.07 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat does not exist to compare? outputFormat=mat