Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.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(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10",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.001166/0.001166, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.001218/0.001219, allocations: 195 kB / 18 MB, free: 5.105 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.343/1.343, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.931/0.931, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 62.55 kB / 0.5719 GB, free: 39.21 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1523, allocations: 80.7 MB / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.002698/0.1551, allocations: 1.341 MB / 0.652 GB, free: 10.74 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000278/0.1554, allocations: 59.83 kB / 0.6521 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.1554, allocations: 0 / 0.6521 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.1555, allocations: 3.938 kB / 0.6521 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.1557, allocations: 19.86 kB / 0.6521 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.1559, allocations: 19.95 kB / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000249/0.1561, allocations: 195.5 kB / 0.6523 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.555e-05/0.1562, allocations: 7.984 kB / 0.6523 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1563, allocations: 71.88 kB / 0.6524 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.1565, allocations: 99.73 kB / 0.6525 GB, free: 10.27 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.1566, allocations: 12 kB / 0.6525 GB, free: 10.26 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.177e-05/0.1566, allocations: 8 kB / 0.6525 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1567, allocations: 75.83 kB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.1568, allocations: 75.64 kB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.157, allocations: 136.4 kB / 0.6527 GB, free: 9.973 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.157, allocations: 4 kB / 0.6527 GB, free: 9.969 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.943e-06/0.157, allocations: 0 / 0.6527 GB, free: 9.969 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.157, allocations: 0 / 0.6527 GB, free: 9.969 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001161/0.1582, allocations: 0.5379 MB / 0.6533 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.1583, allocations: 8.031 kB / 0.6533 GB, free: 9.371 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.726e-05/0.1583, allocations: 50.73 kB / 0.6533 GB, free: 9.312 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.1584, allocations: 12.84 kB / 0.6533 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.1587, allocations: 216 kB / 0.6535 GB, free: 9.051 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1587, allocations: 16.38 kB / 0.6536 GB, free: 9.035 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.052e-05/0.1588, allocations: 32.28 kB / 0.6536 GB, free: 9.004 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.1591, allocations: 190.5 kB / 0.6538 GB, free: 8.812 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1591, allocations: 3.938 kB / 0.6538 GB, free: 8.809 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.1592, allocations: 4 kB / 0.6538 GB, free: 8.805 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1592, allocations: 8 kB / 0.6538 GB, free: 8.797 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.1594, allocations: 111.9 kB / 0.6539 GB, free: 8.688 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.1606, allocations: 0.6017 MB / 0.6545 GB, free: 8.035 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.1624, allocations: 0.5762 MB / 0.655 GB, free: 7.449 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.1626, allocations: 96.8 kB / 0.6551 GB, free: 7.352 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.1627, allocations: 4 kB / 0.6551 GB, free: 7.348 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1627, allocations: 34.94 kB / 0.6552 GB, free: 7.305 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=22): time 1.704e-06/0.1627, allocations: 0 / 0.6552 GB, free: 7.305 MB / 0.4983 GB Notification: Performance of matching and sorting (n=22): time 0.0006076/0.1633, allocations: 316.2 kB / 0.6555 GB, free: 6.992 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.1634, allocations: 55.39 kB / 0.6555 GB, free: 6.926 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.884e-05/0.1635, allocations: 121.8 kB / 0.6556 GB, free: 6.797 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.1635, allocations: 37.7 kB / 0.6557 GB, free: 6.754 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.1636, allocations: 104.5 kB / 0.6558 GB, free: 6.648 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 7.679e-05/0.1637, allocations: 94.66 kB / 0.6559 GB, free: 6.555 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.1638, allocations: 69.69 kB / 0.6559 GB, free: 6.48 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1639, allocations: 326.8 kB / 0.6563 GB, free: 6.152 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.1641, allocations: 115.9 kB / 0.6564 GB, free: 6.039 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.1642, allocations: 115.7 kB / 0.6565 GB, free: 5.926 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.1646, allocations: 261.5 kB / 0.6567 GB, free: 5.668 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1646, allocations: 0 / 0.6567 GB, free: 5.668 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004652/0.1651, allocations: 333.6 kB / 0.657 GB, free: 5.336 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1651, allocations: 4 kB / 0.657 GB, free: 5.332 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1651, allocations: 7.922 kB / 0.6571 GB, free: 5.324 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1652, allocations: 4 kB / 0.6571 GB, free: 5.32 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.1656, allocations: 111.9 kB / 0.6572 GB, free: 5.211 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1656, allocations: 0 / 0.6572 GB, free: 5.211 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.1658, allocations: 28.11 kB / 0.6572 GB, free: 5.184 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.1659, allocations: 16 kB / 0.6572 GB, free: 5.168 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.166, allocations: 142.6 kB / 0.6573 GB, free: 5.02 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.166, allocations: 7.906 kB / 0.6573 GB, free: 5.012 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.564e-05/0.1661, allocations: 36.78 kB / 0.6574 GB, free: 4.973 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1661, allocations: 0 / 0.6574 GB, free: 4.973 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1661, allocations: 0 / 0.6574 GB, free: 4.973 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.1661, allocations: 7.984 kB / 0.6574 GB, free: 4.965 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.1665, allocations: 273.3 kB / 0.6577 GB, free: 4.648 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1665, allocations: 0 / 0.6577 GB, free: 4.648 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006411/0.1671, allocations: 115.9 kB / 0.6578 GB, free: 4.535 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1671, allocations: 0 / 0.6578 GB, free: 4.535 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.1672, allocations: 15.98 kB / 0.6578 GB, free: 4.52 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1672, allocations: 0 / 0.6578 GB, free: 4.52 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1672, allocations: 0 / 0.6578 GB, free: 4.52 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005731/0.1678, allocations: 442.6 kB / 0.6582 GB, free: 4.074 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.1678, allocations: 88.95 kB / 0.6583 GB, free: 3.969 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.1679, allocations: 7.984 kB / 0.6583 GB, free: 3.961 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.168, allocations: 15.98 kB / 0.6583 GB, free: 3.945 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.1681, allocations: 11.98 kB / 0.6583 GB, free: 3.934 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.1681, allocations: 8 kB / 0.6583 GB, free: 3.926 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 5.262e-05/0.1682, allocations: 95.27 kB / 0.6584 GB, free: 3.832 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1682, allocations: 0 / 0.6584 GB, free: 3.832 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002862/0.1685, allocations: 63.84 kB / 0.6585 GB, free: 3.77 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (cur_x[1],cur_x[2],cur_x[3],cur_x[4],cur_x[5],cur_x[6],cur_x[7],cur_x[8],cur_x[9],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],vvol) * 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008879/0.1694, allocations: 0.9655 MB / 0.6594 GB, free: 2.781 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000476/0.1699, allocations: 255.1 kB / 0.6597 GB, free: 2.535 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1699, allocations: 0 / 0.6597 GB, free: 2.535 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.1701, allocations: 115.9 kB / 0.6598 GB, free: 2.422 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.1703, allocations: 11.94 kB / 0.6598 GB, free: 2.41 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003964/0.1743, allocations: 3.605 MB / 0.6633 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1746, allocations: 0.7439 MB / 0.664 GB, free: 13.94 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0001816/0.1748, allocations: 77.41 kB / 0.6641 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1749, allocations: 51.42 kB / 0.6642 GB, free: 13.81 MB / 0.5139 GB Notification: Performance of SimCode: time 6.72e-07/0.175, allocations: 0 / 0.6642 GB, free: 13.81 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.2002, allocations: 4.257 MB / 0.6683 GB, free: 9.754 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/7.863, allocations: 8.312 kB / 0.6683 GB, free: 9.742 MB / 0.5139 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10_fmu --startTime=0 --stopTime=4e-06 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1)