Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.ACACTransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_latest_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.001466/0.001465, allocations: 99.7 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.001586/0.001586, 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.531/2.531, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.759/4.759, allocations: 409.2 MB / 0.6838 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006367/0.0006376, allocations: 12 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37/1.371, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.01022/1.381, allocations: 4.544 MB / 0.9853 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01173/1.393, allocations: 3.748 MB / 0.989 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/1.394, allocations: 15.88 kB / 0.989 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0006213/1.395, allocations: 95.34 kB / 0.9891 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002921/1.398, allocations: 442.6 kB / 0.9895 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002931/1.401, allocations: 419 kB / 0.9899 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001867/1.403, allocations: 0.6528 MB / 0.9905 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/1.405, allocations: 0.6719 MB / 0.9912 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008795/1.406, allocations: 330.9 kB / 0.9915 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/1.407, allocations: 390.6 kB / 0.9919 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001516/1.407, allocations: 40 kB / 0.9919 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/1.409, allocations: 455.3 kB / 0.9924 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004783/1.409, allocations: 279.2 kB / 0.9926 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003005/1.409, allocations: 157.3 kB / 0.9928 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002295/1.412, allocations: 1.023 MB / 0.9938 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.412, allocations: 0 / 0.9938 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.807e-06/1.412, allocations: 0 / 0.9938 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.598e-05/1.412, allocations: 0 / 0.9938 GB, free: 9.027 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.003473/1.415, allocations: 1.02 MB / 0.9948 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.691e-05/1.415, allocations: 8.031 kB / 0.9948 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002877/1.416, allocations: 122.5 kB / 0.9949 GB, free: 7.82 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0214/1.437, allocations: 1.734 MB / 0.9966 GB, free: 6.082 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002744/1.44, allocations: 0.5992 MB / 0.9972 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.234e-05/1.44, allocations: 41.3 kB / 0.9972 GB, free: 5.398 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003801/1.441, allocations: 67.92 kB / 0.9973 GB, free: 5.332 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/1.451, allocations: 1.907 MB / 0.9991 GB, free: 3.363 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.86e-05/1.451, allocations: 7.844 kB / 0.9991 GB, free: 3.355 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/1.451, allocations: 27.98 kB / 0.9992 GB, free: 3.328 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006006/1.452, allocations: 153.4 kB / 0.9993 GB, free: 3.176 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/1.465, allocations: 2.62 MB / 1.002 GB, free: 0.5547 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01854/1.483, allocations: 6.657 MB / 1.008 GB, free: 9.531 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005572/1.489, allocations: 1.257 MB / 1.01 GB, free: 8.258 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004881/1.494, allocations: 1.488 MB / 1.011 GB, free: 6.711 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.296e-05/1.494, allocations: 42.45 kB / 1.011 GB, free: 6.66 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=73): time 4.649e-06/1.494, allocations: 4 kB / 1.011 GB, free: 6.656 MB / 0.7637 GB Notification: Performance of matching and sorting (n=107): time 0.04548/1.54, allocations: 8.231 MB / 1.019 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.603e-05/1.54, allocations: 90.11 kB / 1.019 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/1.541, allocations: 0.5692 MB / 1.02 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0003459/1.541, allocations: 41.7 kB / 1.02 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004697/1.542, allocations: 423 kB / 1.02 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006566/1.543, allocations: 370.6 kB / 1.021 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/1.543, allocations: 24 kB / 1.021 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0003061/1.543, allocations: 394.7 kB / 1.021 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005232/1.548, allocations: 1.107 MB / 1.022 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005385/1.554, allocations: 1.445 MB / 1.023 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005194/1.559, allocations: 1.226 MB / 1.025 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.726e-05/1.559, allocations: 7.938 kB / 1.025 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01866/1.578, allocations: 3.878 MB / 1.028 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.002771/1.581, allocations: 4.01 MB / 1.032 GB, free: 276 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.452e-05/1.581, allocations: 8 kB / 1.032 GB, free: 268 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008147/1.589, allocations: 1.38 MB / 1.034 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003392/1.592, allocations: 463.2 kB / 1.034 GB, free: 14.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02678/1.619, allocations: 11.58 MB / 1.045 GB, free: 2.301 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003969/1.623, allocations: 303.5 kB / 1.046 GB, free: 2.004 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003741/1.624, allocations: 63.97 kB / 1.046 GB, free: 1.941 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.624, allocations: 4.062 kB / 1.046 GB, free: 1.938 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0183/1.642, allocations: 3.569 MB / 1.049 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.727e-05/1.642, allocations: 8 kB / 1.049 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007091/1.649, allocations: 1.097 MB / 1.05 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004007/1.653, allocations: 475.2 kB / 1.051 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02454/1.678, allocations: 10.63 MB / 1.061 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003903/1.682, allocations: 299.5 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003882/1.682, allocations: 75.92 kB / 1.062 GB, free: 1.23 MB / 0.8106 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.001142/1.683, allocations: 384.8 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004193/1.684, allocations: 79.06 kB / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01812/1.702, allocations: 3.762 MB / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.079e-05/1.702, allocations: 11.98 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.824e-05/1.702, allocations: 8 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.327e-05/1.702, allocations: 7.984 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02164/1.724, allocations: 5.49 MB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.891e-05/1.724, allocations: 4 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002754/1.727, allocations: 359.5 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007264/1.734, allocations: 1.249 MB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004003/1.734, allocations: 35.97 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02268/1.757, allocations: 11.09 MB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.316e-05/1.757, allocations: 7.938 kB / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01826/1.775, allocations: 3.938 MB / 1.087 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002163/1.778, allocations: 339.9 kB / 1.088 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003966/1.778, allocations: 28 kB / 1.088 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003707/1.782, allocations: 319.4 kB / 1.088 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008636/1.783, allocations: 96.2 kB / 1.088 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002575/1.783, allocations: 51.97 kB / 1.088 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001328/1.784, allocations: 402.8 kB / 1.089 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.7e-07/1.784, allocations: 0 / 1.089 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004916/1.789, allocations: 0.5898 MB / 1.089 GB, free: 4.035 MB / 0.8419 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.01833/1.808, allocations: 6.112 MB / 1.095 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02412/1.832, allocations: 5.709 MB / 1.101 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.453e-05/1.832, allocations: 0 / 1.101 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.008781/1.841, allocations: 2.122 MB / 1.103 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/1.843, allocations: 131.9 kB / 1.103 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0518/1.895, allocations: 17.36 MB / 1.12 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001941/1.897, allocations: 1.125 MB / 1.121 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.008313/1.905, allocations: 0.5461 MB / 1.121 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/1.907, allocations: 295.3 kB / 1.122 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of SimCode: time 2.535e-06/1.907, allocations: 0 / 1.122 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/2.019, allocations: 33.37 MB / 1.154 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004403/2.019, allocations: 239.1 kB / 1.155 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.831/6.851, allocations: 4 kB / 1.155 GB, free: 0.6484 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat does not exist to compare? outputFormat=mat