Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",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.001074/0.001074, allocations: 95.69 kB / 16.93 MB, free: 5.98 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.001116/0.001116, allocations: 178.3 kB / 17.82 MB, free: 5.652 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.438/1.438, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004775/0.0004778, allocations: 12 kB / 280.8 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1123, allocations: 47.57 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003044/0.1154, allocations: 2.19 MB / 330.6 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.1168, allocations: 0.7299 MB / 331.3 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.117, allocations: 4 kB / 331.3 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.297e-05/0.117, allocations: 31.69 kB / 331.4 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.1173, allocations: 91.73 kB / 331.5 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.1176, allocations: 75.83 kB / 331.5 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.118, allocations: 243.5 kB / 331.8 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.1182, allocations: 61.31 kB / 331.8 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.1184, allocations: 131.6 kB / 332 MB, free: 448 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.1187, allocations: 147.4 kB / 332.1 MB, free: 300 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.453e-05/0.1187, allocations: 16 kB / 332.1 MB, free: 284 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.695e-05/0.1188, allocations: 20 kB / 332.1 MB, free: 264 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.591e-05/0.1189, allocations: 51.81 kB / 332.2 MB, free: 212 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.601e-05/0.1189, allocations: 69.58 kB / 332.3 MB, free: 136 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.1192, allocations: 263.5 kB / 332.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1193, allocations: 4 kB / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.1193, allocations: 0 / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.1193, allocations: 3.938 kB / 332.5 MB, free: 15.87 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001539/0.1208, allocations: 0.6608 MB / 333.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1209, allocations: 12.03 kB / 333.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001158/0.121, allocations: 54.55 kB / 333.2 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.457e-05/0.1211, allocations: 27.72 kB / 333.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.1215, allocations: 259.6 kB / 333.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.1215, allocations: 12.44 kB / 333.5 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.1216, allocations: 20 kB / 333.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007956/0.1224, allocations: 325.7 kB / 333.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1224, allocations: 8 kB / 333.9 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.806e-05/0.1225, allocations: 8 kB / 333.9 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.1225, allocations: 7.938 kB / 333.9 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000962/0.1235, allocations: 329.5 kB / 334.2 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.1253, allocations: 0.9998 MB / 335.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.1283, allocations: 0.5958 MB / 335.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/0.1283, allocations: 12 kB / 335.8 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007171/0.129, allocations: 250.9 kB / 336.1 MB, free: 12.1 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 2.074e-06/0.1291, allocations: 0 / 336.1 MB, free: 12.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.00165/0.1307, allocations: 0.5299 MB / 336.6 MB, free: 11.56 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.1308, allocations: 81.11 kB / 336.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.131, allocations: 229 kB / 336.9 MB, free: 11.23 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.1311, allocations: 33.7 kB / 336.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.1312, allocations: 164.2 kB / 337.1 MB, free: 11.03 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.708e-05/0.1313, allocations: 67 kB / 337.2 MB, free: 10.96 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/0.1313, allocations: 4 kB / 337.2 MB, free: 10.96 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1315, allocations: 334.8 kB / 337.5 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005147/0.132, allocations: 160.4 kB / 337.7 MB, free: 10.46 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005126/0.1326, allocations: 203.4 kB / 337.9 MB, free: 10.26 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.1331, allocations: 190.5 kB / 338 MB, free: 10.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1331, allocations: 0 / 338 MB, free: 10.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001172/0.1343, allocations: 451.8 kB / 338.5 MB, free: 9.613 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.713e-05/0.1344, allocations: 33.7 kB / 338.5 MB, free: 9.574 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1344, allocations: 3.953 kB / 338.5 MB, free: 9.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.1344, allocations: 0 / 338.5 MB, free: 9.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.1363, allocations: 315.6 kB / 338.8 MB, free: 9.262 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004835/0.1411, allocations: 3.255 MB / 342.1 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00044/0.1416, allocations: 71.73 kB / 342.2 MB, free: 5.668 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.1416, allocations: 11.98 kB / 342.2 MB, free: 5.656 MB / 286.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.0002092/0.1419, allocations: 145.8 kB / 342.3 MB, free: 5.504 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.1419, allocations: 23.72 kB / 342.3 MB, free: 5.48 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.142, allocations: 30.17 kB / 342.4 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.142, allocations: 4 kB / 342.4 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.142, allocations: 0 / 342.4 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.142, allocations: 0 / 342.4 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.1425, allocations: 341.4 kB / 342.7 MB, free: 5.066 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.1425, allocations: 0 / 342.7 MB, free: 5.066 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/0.1442, allocations: 307.6 kB / 343 MB, free: 4.766 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1443, allocations: 0 / 343 MB, free: 4.766 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.1443, allocations: 8 kB / 343 MB, free: 4.758 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004481/0.1488, allocations: 3.263 MB / 346.3 MB, free: 1.234 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1488, allocations: 0 / 346.3 MB, free: 1.234 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.1504, allocations: 0.5949 MB / 346.9 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.1505, allocations: 100.9 kB / 347 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.1506, allocations: 4 kB / 347 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.1509, allocations: 52.02 kB / 347 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.1511, allocations: 31.89 kB / 347 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.1511, allocations: 7.984 kB / 347.1 MB, free: 420 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002118/0.1513, allocations: 172.5 kB / 347.2 MB, free: 244 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1513, allocations: 0 / 347.2 MB, free: 244 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004857/0.1518, allocations: 79.84 kB / 347.3 MB, free: 164 kB / 286.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.001955/0.1538, allocations: 1.143 MB / 348.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002612/0.1564, allocations: 0.6473 MB / 349.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.1564, allocations: 0 / 349.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001956/0.1584, allocations: 431.6 kB / 349.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.1588, allocations: 48.23 kB / 349.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004625/0.1634, allocations: 2.08 MB / 351.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.1638, allocations: 0.7596 MB / 352.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.164, allocations: 21.95 kB / 352.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.1642, allocations: 75.41 kB / 352.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of SimCode: time 1.523e-06/0.1642, allocations: 0 / 352.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.1863, allocations: 5.54 MB / 358 MB, free: 5.312 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003463/0.1867, allocations: 221.3 kB / 358.3 MB, free: 5.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.029, allocations: 0 / 358.3 MB, free: 5.07 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) Environment - environmentSimulation: