Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002244/0.002245, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.188/2.188, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 82.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.298e-05/3.33e-05, allocations: 4 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1023, allocations: 47.57 MB / 369.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4179/0.5203, allocations: 79.22 MB / 448.4 MB, free: 13.97 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.5206, allocations: 63.66 kB / 448.5 MB, free: 13.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02464/0.5453, allocations: 4.785 MB / 453.2 MB, free: 9.805 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.5453, allocations: 0 / 453.2 MB, free: 9.805 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.53e-05/0.5454, allocations: 10.19 kB / 453.3 MB, free: 9.797 MB / 330.7 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.002048/0.5474, allocations: 0.5999 MB / 453.9 MB, free: 9.164 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.5475, allocations: 12.03 kB / 453.9 MB, free: 9.152 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/0.5476, allocations: 55.84 kB / 453.9 MB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.5478, allocations: 31.62 kB / 454 MB, free: 9.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.5482, allocations: 260.6 kB / 454.2 MB, free: 8.797 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.5483, allocations: 18.94 kB / 454.2 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.16e-05/0.5484, allocations: 22.69 kB / 454.2 MB, free: 8.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.5491, allocations: 250.4 kB / 454.5 MB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.5491, allocations: 0 / 454.5 MB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/0.5491, allocations: 7.812 kB / 454.5 MB, free: 8.578 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.5492, allocations: 4 kB / 454.5 MB, free: 8.574 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005653/0.5497, allocations: 176.2 kB / 454.7 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/0.5529, allocations: 1.014 MB / 455.7 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005031/0.558, allocations: 482.1 kB / 456.2 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005991/0.5587, allocations: 150.4 kB / 456.3 MB, free: 7.074 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.95e-05/0.5588, allocations: 8.328 kB / 456.3 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004782/0.5592, allocations: 193.5 kB / 456.5 MB, free: 6.891 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.555e-06/0.5593, allocations: 0 / 456.5 MB, free: 6.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007168/0.56, allocations: 206.3 kB / 456.7 MB, free: 6.738 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/0.5601, allocations: 114.7 kB / 456.8 MB, free: 6.602 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.5604, allocations: 208.6 kB / 457 MB, free: 6.422 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.5605, allocations: 28.83 kB / 457 MB, free: 6.391 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.5607, allocations: 223.6 kB / 457.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.156e-05/0.5608, allocations: 65.27 kB / 457.3 MB, free: 6.141 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.5608, allocations: 2.938 kB / 457.3 MB, free: 6.141 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.561, allocations: 325.5 kB / 457.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.5613, allocations: 81.28 kB / 457.7 MB, free: 5.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.5616, allocations: 108.4 kB / 457.8 MB, free: 5.688 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.5619, allocations: 113.5 kB / 457.9 MB, free: 5.602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.5619, allocations: 0 / 457.9 MB, free: 5.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007659/0.5627, allocations: 272.8 kB / 458.2 MB, free: 5.391 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.713e-05/0.5628, allocations: 33.7 kB / 458.2 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5628, allocations: 0 / 458.2 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.442e-05/0.5628, allocations: 3.953 kB / 458.3 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004399/0.5672, allocations: 338.8 kB / 458.6 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007104/0.5744, allocations: 3.042 MB / 461.6 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008044/0.5752, allocations: 71.16 kB / 461.7 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.5753, allocations: 7.375 kB / 461.7 MB, free: 1.754 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * 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.0001654/0.5754, allocations: 128.4 kB / 461.8 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.5755, allocations: 31.61 kB / 461.9 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.569e-05/0.5756, allocations: 34.39 kB / 461.9 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5756, allocations: 4 kB / 461.9 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5757, allocations: 4 kB / 461.9 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.5757, allocations: 0 / 461.9 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.5777, allocations: 0.795 MB / 462.7 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.5777, allocations: 0 / 462.7 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004359/0.5821, allocations: 331.5 kB / 463 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/0.5821, allocations: 4 kB / 463 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/0.5822, allocations: 0 / 463 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007131/0.5893, allocations: 3.042 MB / 466.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/0.5894, allocations: 11.97 kB / 466.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.5905, allocations: 449.5 kB / 466.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.5907, allocations: 96.95 kB / 466.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.508e-05/0.5908, allocations: 12.12 kB / 466.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007222/0.5915, allocations: 51.88 kB / 466.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.5917, allocations: 35.95 kB / 466.7 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.5917, allocations: 7.984 kB / 466.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000267/0.592, allocations: 169.4 kB / 466.9 MB, free: 12.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.592, allocations: 0 / 466.9 MB, free: 12.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006795/0.5927, allocations: 79.84 kB / 467 MB, free: 12.4 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * 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.001611/0.5943, allocations: 1.147 MB / 468.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004252/0.5986, allocations: 487.1 kB / 468.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.5987, allocations: 0 / 468.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003757/0.6025, allocations: 335.9 kB / 468.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.603, allocations: 29.52 kB / 468.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.6058, allocations: 0.5674 MB / 469.5 MB, free: 9.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.6062, allocations: 0.748 MB / 470.3 MB, free: 8.973 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.6065, allocations: 79.41 kB / 470.3 MB, free: 8.895 MB / 346.7 MB Notification: Performance of SimCode: time 1.843e-06/0.6065, allocations: 8 kB / 470.3 MB, free: 8.887 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.156/3.762, allocations: 6.244 MB / 476.6 MB, free: 2.641 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)