Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",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.00147/0.00147, allocations: 102.8 kB / 16.4 MB, free: 6.508 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.001576/0.001576, allocations: 195.9 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7421/0.7421, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 73.91 kB / 0.5572 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1624, allocations: 76.18 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005684/0.1681, allocations: 3.048 MB / 0.6346 GB, free: 1.855 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003406/0.1716, allocations: 1.908 MB / 0.6364 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003355/0.1719, allocations: 4 kB / 0.6364 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.1731, allocations: 289 kB / 0.6367 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007102/0.1738, allocations: 187.2 kB / 0.6369 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009051/0.1747, allocations: 247.2 kB / 0.6371 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006256/0.1754, allocations: 330.9 kB / 0.6374 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004522/0.1758, allocations: 177 kB / 0.6376 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003424/0.1762, allocations: 131.5 kB / 0.6377 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004283/0.1766, allocations: 143.5 kB / 0.6379 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5e-05/0.1767, allocations: 23.94 kB / 0.6379 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008373/0.1775, allocations: 415.2 kB / 0.6383 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.1777, allocations: 79.8 kB / 0.6383 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.1778, allocations: 123.4 kB / 0.6385 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00088/0.1787, allocations: 487.5 kB / 0.6389 GB, free: 13.35 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1787, allocations: 0 / 0.6389 GB, free: 13.35 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1787, allocations: 7.938 kB / 0.6389 GB, free: 13.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.1788, allocations: 0 / 0.6389 GB, free: 13.34 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001164/0.1799, allocations: 0.5535 MB / 0.6395 GB, free: 12.74 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.18, allocations: 16.03 kB / 0.6395 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.517e-05/0.1801, allocations: 58.72 kB / 0.6396 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009232/0.181, allocations: 108.5 kB / 0.6397 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.1815, allocations: 269.8 kB / 0.6399 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.1816, allocations: 16.8 kB / 0.6399 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.1816, allocations: 24.36 kB / 0.64 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005774/0.1822, allocations: 361.3 kB / 0.6403 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.1822, allocations: 3.938 kB / 0.6403 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.1823, allocations: 4 kB / 0.6403 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.297e-05/0.1823, allocations: 28.42 kB / 0.6403 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004632/0.1828, allocations: 289.5 kB / 0.6406 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.1849, allocations: 1.729 MB / 0.6423 GB, free: 9.617 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.1854, allocations: 322.2 kB / 0.6426 GB, free: 9.266 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.1856, allocations: 113.6 kB / 0.6427 GB, free: 9.148 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.1857, allocations: 93.03 kB / 0.6428 GB, free: 9.039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1858, allocations: 30.56 kB / 0.6428 GB, free: 9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.1858, allocations: 0 / 0.6428 GB, free: 9 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.00245/0.1882, allocations: 0.9601 MB / 0.6438 GB, free: 8.004 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.1883, allocations: 88.98 kB / 0.6439 GB, free: 7.898 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.1885, allocations: 211.7 kB / 0.6441 GB, free: 7.676 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.1885, allocations: 29.7 kB / 0.6441 GB, free: 7.641 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1886, allocations: 176 kB / 0.6442 GB, free: 7.465 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.992e-05/0.1887, allocations: 82.86 kB / 0.6443 GB, free: 7.383 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.1888, allocations: 61.64 kB / 0.6444 GB, free: 7.316 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1889, allocations: 330.8 kB / 0.6447 GB, free: 6.984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.1891, allocations: 131.9 kB / 0.6448 GB, free: 6.855 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.1893, allocations: 206.6 kB / 0.645 GB, free: 6.621 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004579/0.1898, allocations: 372.6 kB / 0.6454 GB, free: 6.227 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1898, allocations: 4 kB / 0.6454 GB, free: 6.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008255/0.1907, allocations: 0.5044 MB / 0.6459 GB, free: 5.699 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1907, allocations: 7.984 kB / 0.6459 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.1907, allocations: 4 kB / 0.6459 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005436/0.1912, allocations: 155.4 kB / 0.646 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.1915, allocations: 55.91 kB / 0.6461 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002928/0.1944, allocations: 4.198 MB / 0.6502 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.1947, allocations: 19.98 kB / 0.6502 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.1947, allocations: 12.09 kB / 0.6502 GB, free: 0.9062 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001696/0.1949, allocations: 169.6 kB / 0.6504 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.1949, allocations: 19.81 kB / 0.6504 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007926/0.1957, allocations: 473.8 kB / 0.6509 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1958, allocations: 4 kB / 0.6509 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1958, allocations: 4 kB / 0.6509 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1958, allocations: 3.984 kB / 0.6509 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.1973, allocations: 1.013 MB / 0.6519 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1973, allocations: 4 kB / 0.6519 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.1974, allocations: 31.92 kB / 0.6519 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003863/0.1978, allocations: 135.3 kB / 0.652 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.1979, allocations: 12 kB / 0.652 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/0.2005, allocations: 4.162 MB / 0.6561 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.2005, allocations: 4.031 kB / 0.6561 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007413/0.2013, allocations: 0.6177 MB / 0.6567 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.2014, allocations: 128.7 kB / 0.6568 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/0.2015, allocations: 8 kB / 0.6568 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.2017, allocations: 23.97 kB / 0.6569 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.2018, allocations: 19.92 kB / 0.6569 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.2018, allocations: 19.98 kB / 0.6569 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001437/0.202, allocations: 152.2 kB / 0.657 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.202, allocations: 3.938 kB / 0.657 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005025/0.2025, allocations: 84 kB / 0.6571 GB, free: 9.305 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001107/0.2036, allocations: 1.202 MB / 0.6583 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009144/0.2045, allocations: 0.5791 MB / 0.6589 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2045, allocations: 0 / 0.6589 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004965/0.205, allocations: 396.2 kB / 0.6592 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.2056, allocations: 57.59 kB / 0.6593 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/0.2097, allocations: 3.322 MB / 0.6625 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.2101, allocations: 0.7792 MB / 0.6633 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001686/0.2103, allocations: 62.25 kB / 0.6634 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.2104, allocations: 71.41 kB / 0.6634 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of SimCode: time 8.21e-07/0.2104, allocations: 0 / 0.6634 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.2403, allocations: 6.798 MB / 0.6701 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.12, allocations: 4.766 kB / 0.6701 GB, free: 11.85 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)