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.328/2.328, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001283/0.001282, allocations: 176.9 kB / 492.3 MB, free: 0.6172 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.6/1.6, allocations: 221.3 MB / 0.7871 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000877/0.0008767, allocations: 103.9 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.148e-05/3.158e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3, allocations: 142.4 MB / 1.213 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.677/4.977, allocations: 1.779 GB / 2.992 GB, free: 84.31 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003439/4.978, allocations: 104.2 kB / 2.992 GB, free: 84.21 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.11/6.087, allocations: 197.7 MB / 3.185 GB, free: 346.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.164e-06/6.087, allocations: 0 / 3.185 GB, free: 346.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003304/6.088, allocations: 103.5 kB / 3.185 GB, free: 346.5 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.01031/6.098, allocations: 3.707 MB / 3.189 GB, free: 342.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/6.098, allocations: 11.97 kB / 3.189 GB, free: 342.7 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001954/6.1, allocations: 0.6123 MB / 3.189 GB, free: 342.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/6.113, allocations: 1.867 MB / 3.191 GB, free: 340.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005994/6.119, allocations: 2.412 MB / 3.193 GB, free: 337.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002788/6.119, allocations: 329.2 kB / 3.194 GB, free: 337.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002101/6.121, allocations: 430.2 kB / 3.194 GB, free: 337 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/6.139, allocations: 6.106 MB / 3.2 GB, free: 330.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002029/6.139, allocations: 11.88 kB / 3.2 GB, free: 330.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001514/6.14, allocations: 191.5 kB / 3.2 GB, free: 330.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002285/6.141, allocations: 223.6 kB / 3.2 GB, free: 330.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0115/6.152, allocations: 5.714 MB / 3.206 GB, free: 324.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03934/6.192, allocations: 26.44 MB / 3.232 GB, free: 296.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006155/6.198, allocations: 3.761 MB / 3.235 GB, free: 292.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002843/6.201, allocations: 1.836 MB / 3.237 GB, free: 291 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008849/6.202, allocations: 0.5139 MB / 3.238 GB, free: 290.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003673/6.205, allocations: 2.007 MB / 3.24 GB, free: 288.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=256): time 7.544e-06/6.205, allocations: 0 / 3.24 GB, free: 288.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=259): time 0.01131/6.217, allocations: 5.66 MB / 3.245 GB, free: 282.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/6.217, allocations: 441.2 kB / 3.246 GB, free: 282.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002805/6.22, allocations: 1.599 MB / 3.247 GB, free: 280.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0004594/6.22, allocations: 73.7 kB / 3.247 GB, free: 280.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001437/6.222, allocations: 1.726 MB / 3.249 GB, free: 278.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000845/6.222, allocations: 0.8647 MB / 3.25 GB, free: 277.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003299/6.223, allocations: 56 kB / 3.25 GB, free: 277.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001617/6.223, allocations: 411.6 kB / 3.25 GB, free: 277.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002308/6.225, allocations: 1.427 MB / 3.252 GB, free: 275.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002945/6.228, allocations: 2.141 MB / 3.254 GB, free: 273.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00283/6.231, allocations: 1.708 MB / 3.255 GB, free: 271.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.729e-05/6.231, allocations: 8 kB / 3.255 GB, free: 271.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.006959/6.238, allocations: 3.895 MB / 3.259 GB, free: 267.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.00109/6.239, allocations: 6.849 MB / 3.266 GB, free: 260.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.841e-05/6.239, allocations: 16 kB / 3.266 GB, free: 260.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.245e-05/6.239, allocations: 32 kB / 3.266 GB, free: 260.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004457/6.244, allocations: 0.858 MB / 3.267 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.047e-05/6.244, allocations: 35.88 kB / 3.267 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/6.248, allocations: 418 kB / 3.267 GB, free: 259 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005749/6.249, allocations: 139.9 kB / 3.267 GB, free: 258.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/6.249, allocations: 4 kB / 3.267 GB, free: 258.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006565/6.255, allocations: 3.365 MB / 3.271 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-05/6.255, allocations: 20 kB / 3.271 GB, free: 255.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.534e-05/6.255, allocations: 32 kB / 3.271 GB, free: 255.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003997/6.259, allocations: 0.7921 MB / 3.272 GB, free: 254.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.685e-05/6.259, allocations: 43.86 kB / 3.272 GB, free: 254.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003445/6.263, allocations: 370.1 kB / 3.272 GB, free: 254.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004153/6.263, allocations: 131.9 kB / 3.272 GB, free: 254.1 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.0008898/6.264, allocations: 280.2 kB / 3.272 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007014/6.265, allocations: 245 kB / 3.273 GB, free: 253.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007379/6.272, allocations: 4.085 MB / 3.277 GB, free: 249.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/6.272, allocations: 28 kB / 3.277 GB, free: 249.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/6.272, allocations: 0 / 3.277 GB, free: 249.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.632e-05/6.272, allocations: 15.95 kB / 3.277 GB, free: 249.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/6.286, allocations: 9.101 MB / 3.285 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/6.286, allocations: 0 / 3.285 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003947/6.29, allocations: 0.7998 MB / 3.286 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.071e-05/6.29, allocations: 12 kB / 3.286 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002526/6.29, allocations: 67.94 kB / 3.286 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.47e-05/6.29, allocations: 12 kB / 3.286 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/6.29, allocations: 4 kB / 3.286 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005118/6.295, allocations: 4.001 MB / 3.29 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/6.297, allocations: 0.8326 MB / 3.291 GB, free: 234.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005607/6.298, allocations: 52 kB / 3.291 GB, free: 234.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002913/6.3, allocations: 311.6 kB / 3.291 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/6.301, allocations: 165.8 kB / 3.292 GB, free: 233.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/6.301, allocations: 103.9 kB / 3.292 GB, free: 233.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001819/6.303, allocations: 1.304 MB / 3.293 GB, free: 232.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.11e-07/6.303, allocations: 0 / 3.293 GB, free: 232.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004446/6.307, allocations: 1.437 MB / 3.294 GB, free: 230.9 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.006874/6.314, allocations: 5.696 MB / 3.3 GB, free: 225.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007642/6.322, allocations: 5.433 MB / 3.305 GB, free: 219.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/6.322, allocations: 0 / 3.305 GB, free: 219.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002258/6.324, allocations: 1.782 MB / 3.307 GB, free: 218 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/6.327, allocations: 0.5853 MB / 3.308 GB, free: 217.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/6.342, allocations: 7.219 MB / 3.315 GB, free: 210.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00257/6.345, allocations: 2.707 MB / 3.317 GB, free: 207.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.006547/6.351, allocations: 1.433 MB / 3.319 GB, free: 205.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002511/6.354, allocations: 1.593 MB / 3.32 GB, free: 204.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.323e-06/6.354, allocations: 0 / 3.32 GB, free: 204.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09641/6.45, allocations: 72.3 MB / 3.391 GB, free: 132.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001289/6.45, allocations: 219.7 kB / 3.391 GB, free: 132.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.341/10.79, allocations: 3.016 kB / 3.391 GB, free: 132.1 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