Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001372/0.001372, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002272, allocations: 51.92 kB / 279.5 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1154, allocations: 46.63 MB / 326.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005946/0.1214, allocations: 3.945 MB / 330.1 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003355/0.1248, allocations: 1.345 MB / 331.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004699/0.1254, allocations: 8 kB / 331.4 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.1264, allocations: 223.2 kB / 331.7 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005918/0.127, allocations: 230.7 kB / 331.9 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006497/0.1277, allocations: 239.7 kB / 332.1 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006758/0.1284, allocations: 0.7047 MB / 332.8 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.1287, allocations: 165.1 kB / 333 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.129, allocations: 279 kB / 333.3 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.1294, allocations: 302.7 kB / 333.5 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.514e-05/0.1295, allocations: 56 kB / 333.6 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.1298, allocations: 91.97 kB / 333.7 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.13, allocations: 151.4 kB / 333.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003269/0.1303, allocations: 298.5 kB / 334.1 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009083/0.1312, allocations: 0.6929 MB / 334.8 MB, free: 12.05 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1313, allocations: 3.938 kB / 334.8 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1313, allocations: 0 / 334.8 MB, free: 12.04 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1313, allocations: 0 / 334.8 MB, free: 12.04 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001791/0.1331, allocations: 0.9374 MB / 335.8 MB, free: 11.05 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1331, allocations: 12.03 kB / 335.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.1333, allocations: 64.19 kB / 335.8 MB, free: 10.97 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/0.1338, allocations: 406.8 kB / 336.2 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.1338, allocations: 29.38 kB / 336.3 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.1339, allocations: 44.12 kB / 336.3 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007552/0.1347, allocations: 445.5 kB / 336.7 MB, free: 10.01 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1347, allocations: 0 / 336.7 MB, free: 10.01 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.1347, allocations: 16 kB / 336.8 MB, free: 9.992 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1348, allocations: 8 kB / 336.8 MB, free: 9.984 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005901/0.1354, allocations: 315.8 kB / 337.1 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.1378, allocations: 1.707 MB / 338.8 MB, free: 7.875 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006751/0.1384, allocations: 370.8 kB / 339.1 MB, free: 7.504 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.1388, allocations: 188.5 kB / 339.3 MB, free: 7.316 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.289e-05/0.1388, allocations: 7.984 kB / 339.3 MB, free: 7.309 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004506/0.1393, allocations: 262.4 kB / 339.6 MB, free: 7.027 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 1.553e-06/0.1393, allocations: 0 / 339.6 MB, free: 7.027 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002215/0.1415, allocations: 1.009 MB / 340.6 MB, free: 5.926 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.1416, allocations: 203.8 kB / 340.8 MB, free: 5.684 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005889/0.1422, allocations: 0.4978 MB / 341.3 MB, free: 5.168 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/0.1423, allocations: 33.7 kB / 341.3 MB, free: 5.129 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.1425, allocations: 256.4 kB / 341.6 MB, free: 4.875 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.1426, allocations: 114.4 kB / 341.7 MB, free: 4.762 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.1428, allocations: 82.06 kB / 341.8 MB, free: 4.676 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.143, allocations: 358.8 kB / 342.1 MB, free: 4.316 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.1432, allocations: 120.8 kB / 342.2 MB, free: 4.195 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.1436, allocations: 217.3 kB / 342.5 MB, free: 3.949 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.1441, allocations: 273.4 kB / 342.7 MB, free: 3.672 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1441, allocations: 0 / 342.7 MB, free: 3.672 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008531/0.145, allocations: 484.6 kB / 343.2 MB, free: 3.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.145, allocations: 4 kB / 343.2 MB, free: 3.176 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.145, allocations: 0 / 343.2 MB, free: 3.176 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005133/0.1455, allocations: 163.4 kB / 343.4 MB, free: 3.004 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.1457, allocations: 39.92 kB / 343.4 MB, free: 2.965 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005166/0.1509, allocations: 6.658 MB / 350.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004475/0.1514, allocations: 55.56 kB / 350.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.1514, allocations: 12 kB / 350.1 MB, free: 11.69 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003269/0.1518, allocations: 192 kB / 350.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.1519, allocations: 55.38 kB / 350.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.152, allocations: 64.75 kB / 350.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.152, allocations: 4 kB / 350.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.152, allocations: 0 / 350.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.152, allocations: 3.984 kB / 350.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.1525, allocations: 481.1 kB / 350.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1525, allocations: 0 / 350.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.1527, allocations: 27.98 kB / 350.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004146/0.1531, allocations: 167.3 kB / 351.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.1532, allocations: 8 kB / 351.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004766/0.1579, allocations: 6.355 MB / 357.5 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.158, allocations: 4.062 kB / 357.5 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.159, allocations: 0.5046 MB / 358 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.1592, allocations: 160.3 kB / 358.1 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.049e-05/0.1593, allocations: 15.98 kB / 358.1 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.1596, allocations: 31.92 kB / 358.2 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.1597, allocations: 51.86 kB / 358.2 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.1598, allocations: 12 kB / 358.2 MB, free: 2.895 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004312/0.1602, allocations: 363.1 kB / 358.6 MB, free: 2.543 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1602, allocations: 4 kB / 358.6 MB, free: 2.539 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008537/0.1611, allocations: 167.7 kB / 358.8 MB, free: 2.375 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/0.1621, allocations: 430.4 kB / 359.2 MB, free: 1.961 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.1634, allocations: 0.8108 MB / 360 MB, free: 1.098 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.1634, allocations: 4 kB / 360 MB, free: 1.094 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007052/0.1641, allocations: 0.6626 MB / 360.7 MB, free: 388 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/0.1648, allocations: 113.8 kB / 360.8 MB, free: 276 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.1668, allocations: 1.16 MB / 361.9 MB, free: 15.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.1674, allocations: 0.8673 MB / 362.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000205/0.1676, allocations: 48.17 kB / 362.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.1677, allocations: 27.44 kB / 362.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1677, allocations: 0 / 362.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of Templates: time 0.01671/0.1844, allocations: 9.314 MB / 372.2 MB, free: 4.785 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1)