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.001484/0.001484, allocations: 186 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001114/0.001114, allocations: 94.05 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004048, allocations: 8 kB / 327.1 MB, free: 112 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3309, allocations: 47.57 MB / 374.6 MB, free: 45.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.4651, allocations: 79.3 MB / 453.9 MB, free: 1.344 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.4654, allocations: 71.97 kB / 454 MB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02394/0.4893, allocations: 4.791 MB / 458.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4894, allocations: 0 / 458.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.872e-05/0.4894, allocations: 4 kB / 458.8 MB, free: 12.46 MB / 346.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.00203/0.4915, allocations: 0.6477 MB / 459.4 MB, free: 11.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.4915, allocations: 12.03 kB / 459.5 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.89e-05/0.4916, allocations: 54.53 kB / 459.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.602e-05/0.4917, allocations: 31.62 kB / 459.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.4922, allocations: 259.6 kB / 459.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.4922, allocations: 16.38 kB / 459.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.008e-05/0.4923, allocations: 24 kB / 459.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.4936, allocations: 325.7 kB / 460.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.4936, allocations: 0 / 460.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.4e-05/0.4937, allocations: 4 kB / 460.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.4937, allocations: 8 kB / 460.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.4955, allocations: 341.5 kB / 460.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.4986, allocations: 1.024 MB / 461.5 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006185/0.5048, allocations: 0.6137 MB / 462.1 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/0.5048, allocations: 0 / 462.1 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.5059, allocations: 259 kB / 462.4 MB, free: 8.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 2.204e-06/0.506, allocations: 4 kB / 462.4 MB, free: 8.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.002829/0.5088, allocations: 0.5266 MB / 462.9 MB, free: 8.125 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.5089, allocations: 89.11 kB / 463 MB, free: 8.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.5092, allocations: 208.2 kB / 463.2 MB, free: 7.812 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.5093, allocations: 29.7 kB / 463.2 MB, free: 7.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.5095, allocations: 210.6 kB / 463.4 MB, free: 7.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.943e-05/0.5096, allocations: 70.98 kB / 463.5 MB, free: 7.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.5096, allocations: 8 kB / 463.5 MB, free: 7.492 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5098, allocations: 318.8 kB / 463.8 MB, free: 7.172 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009016/0.5107, allocations: 168.4 kB / 464 MB, free: 7.004 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009693/0.5117, allocations: 200.2 kB / 464.2 MB, free: 6.801 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009209/0.5126, allocations: 186.6 kB / 464.4 MB, free: 6.613 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5126, allocations: 0 / 464.4 MB, free: 6.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00202/0.5146, allocations: 435 kB / 464.8 MB, free: 6.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.852e-05/0.5147, allocations: 37.69 kB / 464.8 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5147, allocations: 7.938 kB / 464.8 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.5148, allocations: 7.891 kB / 464.9 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004448/0.5192, allocations: 331.7 kB / 465.2 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008657/0.5279, allocations: 3.275 MB / 468.5 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007968/0.5288, allocations: 79.81 kB / 468.5 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.5288, allocations: 4 kB / 468.5 MB, free: 2.172 MB / 346.7 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.0002603/0.5291, allocations: 138.3 kB / 468.7 MB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.704e-05/0.5292, allocations: 23.77 kB / 468.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.786e-05/0.5293, allocations: 30.17 kB / 468.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5293, allocations: 4 kB / 468.7 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5293, allocations: 4 kB / 468.7 MB, free: 1.969 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5293, allocations: 3.938 kB / 468.7 MB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005443/0.5299, allocations: 345.3 kB / 469.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.5299, allocations: 3.953 kB / 469.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004423/0.5343, allocations: 331.6 kB / 469.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.5344, allocations: 4 kB / 469.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-05/0.5344, allocations: 3.984 kB / 469.4 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00861/0.543, allocations: 3.267 MB / 472.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.5431, allocations: 4.172 kB / 472.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/0.546, allocations: 0.605 MB / 473.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.5462, allocations: 104.8 kB / 473.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.5463, allocations: 12 kB / 473.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006749/0.547, allocations: 52 kB / 473.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.5471, allocations: 23.97 kB / 473.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.5472, allocations: 11.98 kB / 473.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000251/0.5474, allocations: 168.5 kB / 473.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5474, allocations: 0 / 473.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006189/0.5481, allocations: 79.84 kB / 473.7 MB, free: 12.62 MB / 362.7 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.003372/0.5514, allocations: 1.159 MB / 474.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005437/0.5569, allocations: 0.6434 MB / 475.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.557, allocations: 0 / 475.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004352/0.5613, allocations: 423.6 kB / 475.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.5618, allocations: 37.91 kB / 476 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006799/0.5686, allocations: 2.12 MB / 478.1 MB, free: 8.156 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.5691, allocations: 0.756 MB / 478.9 MB, free: 7.375 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.5694, allocations: 83.41 kB / 478.9 MB, free: 7.293 MB / 362.7 MB Notification: Performance of SimCode: time 1.011e-06/0.5694, allocations: 0 / 478.9 MB, free: 7.293 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.698/3.267, allocations: 6.302 MB / 485.2 MB, free: 1 MB / 362.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)