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: translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001097, allocations: 119.9 kB / 17.09 MB, free: 6.012 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.001054/0.001054, allocations: 195 kB / 18.02 MB, free: 5.094 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.349/1.349, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7284/0.7284, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.17 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1738, allocations: 76.18 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005254/0.1791, allocations: 3.057 MB / 0.6357 GB, free: 1.363 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.1821, allocations: 1.905 MB / 0.6376 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.1822, allocations: 7.938 kB / 0.6376 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009361/0.1832, allocations: 282.9 kB / 0.6378 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004362/0.1836, allocations: 199.1 kB / 0.638 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006317/0.1843, allocations: 243.2 kB / 0.6383 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003818/0.1847, allocations: 326.9 kB / 0.6386 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.185, allocations: 180.9 kB / 0.6387 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.1852, allocations: 131.5 kB / 0.6389 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.1855, allocations: 147.5 kB / 0.639 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.1856, allocations: 20 kB / 0.639 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006077/0.1862, allocations: 411.1 kB / 0.6394 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.531e-05/0.1863, allocations: 83.8 kB / 0.6395 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.1864, allocations: 127.4 kB / 0.6396 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006005/0.187, allocations: 486.7 kB / 0.6401 GB, free: 12.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.187, allocations: 0 / 0.6401 GB, free: 12.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.187, allocations: 0 / 0.6401 GB, free: 12.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1871, allocations: 0 / 0.6401 GB, free: 12.84 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.0008998/0.188, allocations: 0.5613 MB / 0.6406 GB, free: 12.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.188, allocations: 8.031 kB / 0.6406 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008071/0.1888, allocations: 112.5 kB / 0.6408 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.1892, allocations: 260.5 kB / 0.641 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.1892, allocations: 16.8 kB / 0.641 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.1892, allocations: 28.25 kB / 0.641 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.1897, allocations: 357.5 kB / 0.6414 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1898, allocations: 0 / 0.6414 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.1898, allocations: 8 kB / 0.6414 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.745e-05/0.1898, allocations: 28.34 kB / 0.6414 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.1903, allocations: 297.5 kB / 0.6417 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/0.1923, allocations: 1.722 MB / 0.6434 GB, free: 9.191 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.1928, allocations: 330 kB / 0.6437 GB, free: 8.832 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.1929, allocations: 105.7 kB / 0.6438 GB, free: 8.723 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.193, allocations: 93.03 kB / 0.6439 GB, free: 8.613 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.1931, allocations: 42.5 kB / 0.6439 GB, free: 8.562 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.1931, allocations: 0 / 0.6439 GB, free: 8.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.00244/0.1955, allocations: 0.9636 MB / 0.6449 GB, free: 7.562 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.1956, allocations: 81.05 kB / 0.6449 GB, free: 7.465 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.1958, allocations: 211.7 kB / 0.6451 GB, free: 7.242 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.1959, allocations: 29.7 kB / 0.6452 GB, free: 7.207 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.196, allocations: 180 kB / 0.6453 GB, free: 7.027 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.196, allocations: 74.91 kB / 0.6454 GB, free: 6.953 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.725e-05/0.1961, allocations: 61.61 kB / 0.6455 GB, free: 6.887 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1963, allocations: 330.8 kB / 0.6458 GB, free: 6.555 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.1964, allocations: 135.9 kB / 0.6459 GB, free: 6.422 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.1967, allocations: 206.6 kB / 0.6461 GB, free: 6.188 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.1971, allocations: 368.5 kB / 0.6465 GB, free: 5.797 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1971, allocations: 0 / 0.6465 GB, free: 5.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007946/0.1979, allocations: 0.5083 MB / 0.647 GB, free: 5.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1979, allocations: 12.03 kB / 0.647 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.198, allocations: 0 / 0.647 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005041/0.1985, allocations: 143.3 kB / 0.6471 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.1987, allocations: 63.89 kB / 0.6472 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003185/0.2019, allocations: 4.194 MB / 0.6513 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.2021, allocations: 23.92 kB / 0.6513 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.2022, allocations: 15.98 kB / 0.6513 GB, free: 488 kB / 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.0001792/0.2024, allocations: 165.9 kB / 0.6515 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/0.2024, allocations: 19.81 kB / 0.6515 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008602/0.2033, allocations: 477.9 kB / 0.6519 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.2033, allocations: 4 kB / 0.6519 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2033, allocations: 4 kB / 0.652 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2033, allocations: 0 / 0.652 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.2049, allocations: 1.009 MB / 0.6529 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2049, allocations: 4.094 kB / 0.6529 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.205, allocations: 36.11 kB / 0.653 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000383/0.2054, allocations: 147.3 kB / 0.6531 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.2054, allocations: 8 kB / 0.6531 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003041/0.2085, allocations: 4.166 MB / 0.6572 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2085, allocations: 0 / 0.6572 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007911/0.2093, allocations: 0.6138 MB / 0.6578 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.2094, allocations: 132.8 kB / 0.6579 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.2095, allocations: 15.84 kB / 0.6579 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.2097, allocations: 11.98 kB / 0.6579 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.2098, allocations: 23.97 kB / 0.658 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.2098, allocations: 12 kB / 0.658 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001517/0.21, allocations: 156.2 kB / 0.6581 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.21, allocations: 4 kB / 0.6581 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005582/0.2106, allocations: 88 kB / 0.6582 GB, free: 8.871 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.0002571/0.2108, allocations: 133.4 kB / 0.6583 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.2118, allocations: 0.5893 MB / 0.6589 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.2119, allocations: 0 / 0.6589 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000515/0.2124, allocations: 398.1 kB / 0.6593 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.2129, allocations: 45.8 kB / 0.6593 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.214, allocations: 0.6669 MB / 0.66 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.2144, allocations: 0.7792 MB / 0.6608 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.636e-05/0.2145, allocations: 27.44 kB / 0.6608 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2145, allocations: 0 / 0.6608 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of Templates: time 0.01051/0.225, allocations: 7.63 MB / 0.6682 GB, free: 14.47 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (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 & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)