Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 387.4 MB / 394.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 188.8 kB / 487.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009167/0.0009167, allocations: 95.89 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.209e-05/2.21e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2863, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.005/5.291, allocations: 1.779 GB / 2.985 GB, free: 103.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004179/5.292, allocations: 103.2 kB / 2.985 GB, free: 103 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.125/6.417, allocations: 196.8 MB / 3.177 GB, free: 357.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.643e-06/6.417, allocations: 0 / 3.177 GB, free: 357.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002594/6.417, allocations: 103.7 kB / 3.177 GB, free: 357.2 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1152 * Number of variables: 1152 Notification: Performance of Generate backend data structure: time 0.0107/6.428, allocations: 3.706 MB / 3.181 GB, free: 354.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/6.428, allocations: 7.906 kB / 3.181 GB, free: 354.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/6.441, allocations: 1.865 MB / 3.182 GB, free: 353.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005529/6.446, allocations: 2.408 MB / 3.185 GB, free: 352.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/6.447, allocations: 150 kB / 3.185 GB, free: 352.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/6.448, allocations: 251.1 kB / 3.185 GB, free: 352.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01049/6.459, allocations: 5.242 MB / 3.19 GB, free: 349.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01403/6.473, allocations: 5.484 MB / 3.196 GB, free: 346.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002296/6.473, allocations: 10.25 kB / 3.196 GB, free: 346.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001749/6.475, allocations: 10.27 kB / 3.196 GB, free: 346.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003149/6.475, allocations: 221.7 kB / 3.196 GB, free: 346.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03815/6.513, allocations: 25.41 MB / 3.221 GB, free: 320.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005665/6.519, allocations: 3.611 MB / 3.224 GB, free: 316.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002434/6.521, allocations: 1.778 MB / 3.226 GB, free: 314.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008288/6.522, allocations: 0.5091 MB / 3.226 GB, free: 314.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003401/6.526, allocations: 1.929 MB / 3.228 GB, free: 312.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=256): time 7.945e-06/6.526, allocations: 4 kB / 3.228 GB, free: 312.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=259): time 0.01665/6.542, allocations: 6.613 MB / 3.235 GB, free: 305.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/6.542, allocations: 441.2 kB / 3.235 GB, free: 304.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/6.545, allocations: 1.356 MB / 3.237 GB, free: 303.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0004684/6.545, allocations: 29.7 kB / 3.237 GB, free: 303.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001467/6.547, allocations: 1.726 MB / 3.238 GB, free: 301.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009311/6.548, allocations: 0.8351 MB / 3.239 GB, free: 300.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/6.548, allocations: 0 / 3.239 GB, free: 300.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001685/6.548, allocations: 411.6 kB / 3.239 GB, free: 300.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/6.55, allocations: 1.376 MB / 3.241 GB, free: 299.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/6.553, allocations: 2.069 MB / 3.243 GB, free: 296.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008107/6.561, allocations: 2.761 MB / 3.245 GB, free: 294 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.396e-05/6.561, allocations: 4 kB / 3.245 GB, free: 294 MB / 1.151 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01346/6.574, allocations: 4.77 MB / 3.25 GB, free: 289.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001212/6.576, allocations: 6.764 MB / 3.257 GB, free: 282 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.094e-05/6.576, allocations: 23.95 kB / 3.257 GB, free: 282 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.667e-05/6.576, allocations: 32 kB / 3.257 GB, free: 282 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004654/6.58, allocations: 0.8463 MB / 3.258 GB, free: 281.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.987e-05/6.58, allocations: 43.86 kB / 3.258 GB, free: 281.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004166/6.585, allocations: 362 kB / 3.258 GB, free: 280.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007062/6.585, allocations: 139.9 kB / 3.258 GB, free: 280.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/6.585, allocations: 4 kB / 3.258 GB, free: 280.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01265/6.598, allocations: 4.181 MB / 3.262 GB, free: 276.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.144e-05/6.598, allocations: 16 kB / 3.262 GB, free: 276.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.679e-05/6.598, allocations: 32 kB / 3.262 GB, free: 276.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004195/6.602, allocations: 0.8035 MB / 3.263 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-05/6.603, allocations: 39.88 kB / 3.263 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003543/6.606, allocations: 306.2 kB / 3.263 GB, free: 275.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000612/6.607, allocations: 139.9 kB / 3.264 GB, free: 275 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 348 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001252/6.608, allocations: 182 kB / 3.264 GB, free: 274.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01162/6.62, allocations: 4.34 MB / 3.268 GB, free: 270.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/6.621, allocations: 233.2 kB / 3.268 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/6.634, allocations: 4.985 MB / 3.273 GB, free: 265.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/6.634, allocations: 28 kB / 3.273 GB, free: 265.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/6.634, allocations: 0 / 3.273 GB, free: 265.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-05/6.635, allocations: 19.94 kB / 3.273 GB, free: 265.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02113/6.656, allocations: 9.217 MB / 3.282 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/6.656, allocations: 0 / 3.282 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004343/6.66, allocations: 0.7959 MB / 3.283 GB, free: 255.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.047e-05/6.66, allocations: 12 kB / 3.283 GB, free: 255.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005335/6.661, allocations: 39.94 kB / 3.283 GB, free: 255.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.398e-05/6.661, allocations: 16 kB / 3.283 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/6.661, allocations: 4 kB / 3.283 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/6.673, allocations: 4.947 MB / 3.288 GB, free: 249.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001957/6.675, allocations: 0.8134 MB / 3.289 GB, free: 249.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009157/6.676, allocations: 7.984 kB / 3.289 GB, free: 249.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003191/6.679, allocations: 255.6 kB / 3.289 GB, free: 248.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003605/6.68, allocations: 173.8 kB / 3.289 GB, free: 248.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003046/6.68, allocations: 91.94 kB / 3.289 GB, free: 248.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002001/6.682, allocations: 1.09 MB / 3.29 GB, free: 247.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.21e-07/6.682, allocations: 0 / 3.29 GB, free: 247.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006406/6.688, allocations: 1.28 MB / 3.291 GB, free: 246.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01469/6.703, allocations: 6.575 MB / 3.298 GB, free: 239.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007678/6.711, allocations: 5.201 MB / 3.303 GB, free: 234.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/6.711, allocations: 0 / 3.303 GB, free: 234.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002358/6.713, allocations: 1.722 MB / 3.305 GB, free: 232.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003304/6.716, allocations: 0.5252 MB / 3.305 GB, free: 232.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/6.731, allocations: 6.977 MB / 3.312 GB, free: 225 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/6.733, allocations: 2.706 MB / 3.315 GB, free: 222.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00635/6.74, allocations: 1.409 MB / 3.316 GB, free: 220.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00263/6.742, allocations: 1.589 MB / 3.317 GB, free: 219.3 MB / 1.151 GB Notification: Performance of SimCode: time 8.21e-07/6.742, allocations: 4 kB / 3.317 GB, free: 219.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/6.849, allocations: 68.37 MB / 3.384 GB, free: 151.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/6.849, allocations: 199.7 kB / 3.384 GB, free: 150.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.043/10.89, allocations: 4 kB / 3.384 GB, free: 150.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_res.mat does not exist to compare? outputFormat=mat