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.001224/0.001224, allocations: 100 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.001308/0.001308, 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 1.38/1.38, allocations: 223.2 MB / 239.9 MB, free: 5.359 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.423/2.423, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003478, allocations: 16 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7043/0.7047, allocations: 142.3 MB / 0.9536 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.005167/0.7099, allocations: 4.343 MB / 0.9578 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00515/0.7151, allocations: 3.676 MB / 0.9614 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004131/0.7156, allocations: 14.41 kB / 0.9614 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.7158, allocations: 85.52 kB / 0.9615 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.7168, allocations: 455 kB / 0.962 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008882/0.7177, allocations: 365.5 kB / 0.9623 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006826/0.7184, allocations: 0.5663 MB / 0.9629 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009652/0.7194, allocations: 0.6403 MB / 0.9635 GB, free: 388 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.7198, allocations: 299.5 kB / 0.9638 GB, free: 220 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004436/0.7202, allocations: 347.9 kB / 0.9641 GB, free: 12 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.395e-05/0.7203, allocations: 32 kB / 0.9641 GB, free: 12 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009081/0.7212, allocations: 454.7 kB / 0.9646 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.7215, allocations: 254.5 kB / 0.9648 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.7216, allocations: 145.3 kB / 0.9649 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.7229, allocations: 0.9374 MB / 0.9659 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7229, allocations: 4 kB / 0.9659 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.687e-06/0.7229, allocations: 4.906 kB / 0.9659 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.723, allocations: 0 / 0.9659 GB, free: 14.96 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.002563/0.7255, allocations: 0.9322 MB / 0.9668 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.462e-05/0.7256, allocations: 12.62 kB / 0.9668 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002386/0.7259, allocations: 117.3 kB / 0.9669 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009798/0.7357, allocations: 1.655 MB / 0.9685 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.7371, allocations: 0.5265 MB / 0.969 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.666e-05/0.7372, allocations: 50.7 kB / 0.9691 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.7374, allocations: 59.8 kB / 0.9691 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004899/0.7423, allocations: 1.827 MB / 0.9709 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.7423, allocations: 9.844 kB / 0.9709 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.7424, allocations: 34.92 kB / 0.971 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002288/0.7427, allocations: 103.3 kB / 0.9711 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007671/0.7503, allocations: 2.48 MB / 0.9735 GB, free: 10.49 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.009974/0.7603, allocations: 6.363 MB / 0.9797 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/0.7638, allocations: 1.351 MB / 0.981 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002697/0.7666, allocations: 2.159 MB / 0.9831 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.7666, allocations: 54.48 kB / 0.9832 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=69): time 2.335e-06/0.7666, allocations: 0 / 0.9832 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of matching and sorting (n=93): time 0.02178/0.7884, allocations: 6.629 MB / 0.9897 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.7886, allocations: 191.9 kB / 0.9898 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007611/0.7893, allocations: 0.5134 MB / 0.9903 GB, free: 9.672 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.7895, allocations: 41.7 kB / 0.9904 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.7898, allocations: 390.7 kB / 0.9908 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/0.7901, allocations: 323.3 kB / 0.9911 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.155e-05/0.7902, allocations: 24 kB / 0.9911 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.7904, allocations: 386.7 kB / 0.9915 GB, free: 8.504 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00292/0.7933, allocations: 0.9976 MB / 0.9924 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002988/0.7964, allocations: 1.283 MB / 0.9937 GB, free: 6.109 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002958/0.7993, allocations: 1.079 MB / 0.9947 GB, free: 5.031 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.7993, allocations: 4 kB / 0.9947 GB, free: 5.027 MB / 0.7481 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.009607/0.809, allocations: 3.333 MB / 0.998 GB, free: 1.672 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.001054/0.81, allocations: 3.236 MB / 1.001 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.8101, allocations: 8 kB / 1.001 GB, free: 14.17 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00435/0.8144, allocations: 1.092 MB / 1.002 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/0.8166, allocations: 459.2 kB / 1.003 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/0.8288, allocations: 9.439 MB / 1.012 GB, free: 2.648 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/0.8311, allocations: 299.4 kB / 1.012 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.8312, allocations: 64.03 kB / 1.012 GB, free: 2.293 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.8312, allocations: 4 kB / 1.012 GB, free: 2.289 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008978/0.8402, allocations: 3.012 MB / 1.015 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/0.8403, allocations: 8 kB / 1.015 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002966/0.8433, allocations: 0.7519 MB / 1.016 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/0.8457, allocations: 491.1 kB / 1.016 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00918/0.8549, allocations: 7.096 MB / 1.023 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/0.8571, allocations: 303.5 kB / 1.024 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/0.8573, allocations: 63.95 kB / 1.024 GB, free: 6.16 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.0006276/0.8579, allocations: 360.7 kB / 1.024 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.8582, allocations: 75.11 kB / 1.024 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00932/0.8675, allocations: 3.086 MB / 1.027 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.8676, allocations: 12 kB / 1.027 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.8676, allocations: 8 kB / 1.027 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.8676, allocations: 7.984 kB / 1.027 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.8797, allocations: 5.016 MB / 1.032 GB, free: 13.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/0.8798, allocations: 8.609 kB / 1.032 GB, free: 13.42 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.8814, allocations: 359.4 kB / 1.032 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003775/0.8852, allocations: 1.006 MB / 1.033 GB, free: 12.05 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.8854, allocations: 31.97 kB / 1.033 GB, free: 12.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009915/0.8953, allocations: 8.88 MB / 1.042 GB, free: 2.605 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.8953, allocations: 11.94 kB / 1.042 GB, free: 2.594 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009516/0.9048, allocations: 3.498 MB / 1.045 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009208/0.9058, allocations: 319.9 kB / 1.046 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.906, allocations: 28 kB / 1.046 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001829/0.9078, allocations: 295.5 kB / 1.046 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/0.9081, allocations: 91.73 kB / 1.046 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.352e-05/0.9082, allocations: 39.97 kB / 1.046 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005441/0.9088, allocations: 362.8 kB / 1.047 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9088, allocations: 7.875 kB / 1.047 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002044/0.9108, allocations: 0.5078 MB / 1.047 GB, free: 13.22 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.01042/0.9213, allocations: 5.602 MB / 1.053 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01304/0.9343, allocations: 4.955 MB / 1.057 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/0.9344, allocations: 0 / 1.057 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004213/0.9386, allocations: 1.741 MB / 1.059 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009186/0.9396, allocations: 101.6 kB / 1.059 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.028/0.9676, allocations: 14.63 MB / 1.073 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008595/0.9685, allocations: 1.055 MB / 1.074 GB, free: 496 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002052/0.9706, allocations: 494.2 kB / 1.075 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/0.9711, allocations: 275.3 kB / 1.075 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of SimCode: time 1.302e-06/0.9711, allocations: 0 / 1.075 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04397/1.015, allocations: 26.11 MB / 1.101 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003068/1.015, allocations: 232.1 kB / 1.101 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/3.341, allocations: 6.25 kB / 1.101 GB, free: 5.664 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