Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009736/0.0009736, allocations: 101 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009443/0.0009444, allocations: 203.4 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002902/0.0002903, allocations: 4 kB / 306.7 MB, free: 1.273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1237, allocations: 51.49 MB / 358.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002769/0.1265, allocations: 2.245 MB / 360.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.1277, allocations: 0.7095 MB / 361.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.1279, allocations: 4 kB / 361.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.071e-05/0.128, allocations: 35.75 kB / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.1282, allocations: 95.61 kB / 361.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.1285, allocations: 79.89 kB / 361.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003615/0.1289, allocations: 235.5 kB / 361.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.129, allocations: 69.3 kB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.1292, allocations: 127.5 kB / 361.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.1295, allocations: 155.4 kB / 361.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.1295, allocations: 16 kB / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.782e-05/0.1296, allocations: 23.98 kB / 362 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.1296, allocations: 43.83 kB / 362 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.532e-05/0.1297, allocations: 73.58 kB / 362.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.13, allocations: 267.5 kB / 362.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.13, allocations: 0 / 362.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.13, allocations: 0 / 362.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.13, allocations: 0 / 362.4 MB, free: 9.602 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001455/0.1315, allocations: 0.6647 MB / 363 MB, free: 8.883 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1316, allocations: 12.03 kB / 363 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.748e-05/0.1316, allocations: 50.55 kB / 363.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.1318, allocations: 39.7 kB / 363.1 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.1321, allocations: 263.6 kB / 363.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.1322, allocations: 16.39 kB / 363.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.1322, allocations: 20 kB / 363.4 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007726/0.133, allocations: 329.7 kB / 363.7 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.133, allocations: 0 / 363.7 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.1331, allocations: 8 kB / 363.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.1331, allocations: 4 kB / 363.7 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.1341, allocations: 345.5 kB / 364.1 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.1359, allocations: 0.9881 MB / 365.1 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/0.1389, allocations: 0.5959 MB / 365.7 MB, free: 6.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.304e-05/0.139, allocations: 4 kB / 365.7 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006922/0.1397, allocations: 258.5 kB / 365.9 MB, free: 5.816 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.004e-06/0.1397, allocations: 0 / 365.9 MB, free: 5.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001661/0.1414, allocations: 0.5303 MB / 366.5 MB, free: 5.281 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.1415, allocations: 81.11 kB / 366.5 MB, free: 5.184 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.1417, allocations: 229 kB / 366.8 MB, free: 4.949 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.1418, allocations: 29.7 kB / 366.8 MB, free: 4.914 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.1419, allocations: 160.2 kB / 366.9 MB, free: 4.754 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.954e-05/0.142, allocations: 74.92 kB / 367 MB, free: 4.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/0.142, allocations: 7.938 kB / 367 MB, free: 4.672 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1421, allocations: 334.8 kB / 367.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004862/0.1426, allocations: 164.4 kB / 367.5 MB, free: 4.172 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/0.1431, allocations: 195.4 kB / 367.7 MB, free: 3.973 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.1437, allocations: 192.5 kB / 367.9 MB, free: 3.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1437, allocations: 3.938 kB / 367.9 MB, free: 3.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001163/0.1448, allocations: 454 kB / 368.3 MB, free: 3.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.1449, allocations: 37.7 kB / 368.4 MB, free: 3.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1449, allocations: 0 / 368.4 MB, free: 3.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1449, allocations: 3.938 kB / 368.4 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.1467, allocations: 307.7 kB / 368.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2266/0.3733, allocations: 3.25 MB / 371.9 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005138/0.3739, allocations: 69.48 kB / 372 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.3739, allocations: 7.797 kB / 372 MB, free: 18.48 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002205/0.3741, allocations: 147.6 kB / 372.1 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.3742, allocations: 23.44 kB / 372.2 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.42e-05/0.3743, allocations: 29.95 kB / 372.2 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3743, allocations: 2.281 kB / 372.2 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.3743, allocations: 0 / 372.2 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.3743, allocations: 2.297 kB / 372.2 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004531/0.3748, allocations: 348.8 kB / 372.5 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3748, allocations: 0.75 kB / 372.5 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/0.3768, allocations: 307.7 kB / 372.8 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.3768, allocations: 1.812 kB / 372.8 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.3768, allocations: 7.031 kB / 372.9 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004915/0.3817, allocations: 3.257 MB / 376.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3818, allocations: 0 / 376.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.3839, allocations: 0.5949 MB / 376.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.384, allocations: 101.6 kB / 376.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.3841, allocations: 4.781 kB / 376.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/0.3845, allocations: 54.31 kB / 376.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.3847, allocations: 23.91 kB / 376.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.3847, allocations: 13.7 kB / 376.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003109/0.385, allocations: 166.1 kB / 377.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.32e-07/0.385, allocations: 0 / 377.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006368/0.3857, allocations: 81.56 kB / 377.1 MB, free: 15.22 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * 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: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002325/0.388, allocations: 1.143 MB / 378.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003105/0.3912, allocations: 0.6441 MB / 378.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.3912, allocations: 1.875 kB / 378.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002221/0.3934, allocations: 438.8 kB / 379.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.3938, allocations: 31.67 kB / 379.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/0.399, allocations: 2.082 MB / 381.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.3995, allocations: 0.7561 MB / 382.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.3997, allocations: 22.42 kB / 382.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.3999, allocations: 78.72 kB / 382.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of SimCode: time 2.064e-06/0.3999, allocations: 3.844 kB / 382.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.4259, allocations: 5.524 MB / 387.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.4261, allocations: 226.1 kB / 388.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.122/2.548, allocations: 3.828 kB / 388.1 MB, free: 11.46 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)