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.001299/0.0013, allocations: 111.3 kB / 16.41 MB, free: 6.488 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.0009803/0.0009804, allocations: 191.2 kB / 17.34 MB, free: 5.762 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.386/1.386, allocations: 222.9 MB / 241 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.8281/0.8281, allocations: 126.1 MB / 417.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 71.27 kB / 0.5731 GB, free: 27.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1959, allocations: 78.7 MB / 0.6499 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004372/0.2003, allocations: 3.052 MB / 0.6529 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.2031, allocations: 1.909 MB / 0.6548 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.2032, allocations: 11.94 kB / 0.6548 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009691/0.2042, allocations: 286.9 kB / 0.6551 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004274/0.2047, allocations: 191.1 kB / 0.6552 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006071/0.2053, allocations: 245.1 kB / 0.6555 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000344/0.2057, allocations: 326.9 kB / 0.6558 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.206, allocations: 176.9 kB / 0.6559 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.2062, allocations: 139.5 kB / 0.6561 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.2065, allocations: 143.4 kB / 0.6562 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.2065, allocations: 20 kB / 0.6562 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005663/0.2071, allocations: 407.2 kB / 0.6566 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.105e-05/0.2072, allocations: 83.78 kB / 0.6567 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.2073, allocations: 123.4 kB / 0.6568 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006041/0.208, allocations: 486.4 kB / 0.6573 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.208, allocations: 0 / 0.6573 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.757e-06/0.208, allocations: 3.984 kB / 0.6573 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.208, allocations: 0 / 0.6573 GB, free: 12.58 MB / 0.4981 GB 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.0008407/0.2088, allocations: 0.5762 MB / 0.6579 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2089, allocations: 8.031 kB / 0.6579 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007589/0.2096, allocations: 108.7 kB / 0.658 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.21, allocations: 275.9 kB / 0.6582 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.21, allocations: 16.81 kB / 0.6582 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.21, allocations: 16.38 kB / 0.6583 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.2105, allocations: 361.2 kB / 0.6586 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2106, allocations: 0 / 0.6586 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.2106, allocations: 15.98 kB / 0.6586 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-05/0.2106, allocations: 24.42 kB / 0.6586 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/0.2111, allocations: 297.5 kB / 0.6589 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.213, allocations: 1.738 MB / 0.6606 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004488/0.2135, allocations: 318.1 kB / 0.6609 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.2136, allocations: 105.9 kB / 0.661 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.2137, allocations: 93.03 kB / 0.6611 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.2138, allocations: 42.44 kB / 0.6612 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 4.309e-06/0.2138, allocations: 0 / 0.6612 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23): time 0.002305/0.2161, allocations: 0.963 MB / 0.6621 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.2162, allocations: 81.05 kB / 0.6622 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.2164, allocations: 215.8 kB / 0.6624 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.2164, allocations: 37.64 kB / 0.6624 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.513e-05/0.2165, allocations: 172.5 kB / 0.6626 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.2166, allocations: 83.33 kB / 0.6627 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-05/0.2167, allocations: 69.59 kB / 0.6627 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2168, allocations: 330.8 kB / 0.663 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.217, allocations: 131.9 kB / 0.6632 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.2172, allocations: 205.4 kB / 0.6634 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.2176, allocations: 357.2 kB / 0.6637 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.2177, allocations: 3.984 kB / 0.6637 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007955/0.2185, allocations: 0.5185 MB / 0.6642 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2185, allocations: 8 kB / 0.6642 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.2185, allocations: 11.97 kB / 0.6642 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004933/0.219, allocations: 151.6 kB / 0.6644 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.2192, allocations: 59.91 kB / 0.6644 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.2221, allocations: 4.182 MB / 0.6685 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.2223, allocations: 27.95 kB / 0.6685 GB, free: 188 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.2223, allocations: 12 kB / 0.6686 GB, free: 176 kB / 0.4981 GB 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.0001581/0.2225, allocations: 165.6 kB / 0.6687 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.2226, allocations: 28.05 kB / 0.6687 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007643/0.2233, allocations: 474.5 kB / 0.6692 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2234, allocations: 0 / 0.6692 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2234, allocations: 7.938 kB / 0.6692 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2234, allocations: 7.984 kB / 0.6692 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.2248, allocations: 0.9939 MB / 0.6702 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2248, allocations: 0 / 0.6702 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.225, allocations: 35.92 kB / 0.6702 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003723/0.2253, allocations: 139.6 kB / 0.6703 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.2254, allocations: 8 kB / 0.6704 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/0.2281, allocations: 4.159 MB / 0.6744 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.2281, allocations: 4 kB / 0.6744 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000745/0.2289, allocations: 0.6221 MB / 0.675 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.229, allocations: 128.9 kB / 0.6751 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.2291, allocations: 11.88 kB / 0.6752 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.2293, allocations: 19.97 kB / 0.6752 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.2293, allocations: 23.98 kB / 0.6752 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.2294, allocations: 12 kB / 0.6752 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001362/0.2295, allocations: 157.5 kB / 0.6754 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2295, allocations: 0 / 0.6754 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000506/0.23, allocations: 95.88 kB / 0.6755 GB, free: 8.57 MB / 0.5137 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.0002248/0.2303, allocations: 139.1 kB / 0.6756 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009031/0.2312, allocations: 0.5835 MB / 0.6762 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.2312, allocations: 8.125 kB / 0.6762 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000486/0.2317, allocations: 401 kB / 0.6765 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.2322, allocations: 44.95 kB / 0.6766 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009945/0.2332, allocations: 0.6294 MB / 0.6772 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.2336, allocations: 0.7753 MB / 0.678 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000164/0.2337, allocations: 66.22 kB / 0.678 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.2338, allocations: 23.44 kB / 0.678 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.2338, allocations: 0 / 0.678 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of Templates: time 0.00756/0.2414, allocations: 4.204 MB / 0.6822 GB, free: 1.598 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)