Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009792/0.0009791, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.226/1.226, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008244/0.0008244, allocations: 93.34 kB / 297.2 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002573/0.0002573, allocations: 8 kB / 358 MB, free: 9.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1979, allocations: 51.47 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0918/0.2898, allocations: 80.53 MB / 490 MB, free: 10.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/0.29, allocations: 69.06 kB / 490.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01288/0.3029, allocations: 5.225 MB / 495.3 MB, free: 4.754 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3029, allocations: 0 / 495.3 MB, free: 4.754 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.3029, allocations: 8.219 kB / 495.3 MB, free: 4.746 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0008473/0.3038, allocations: 0.5786 MB / 495.9 MB, free: 4.117 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3038, allocations: 12.03 kB / 495.9 MB, free: 4.105 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.866e-05/0.3039, allocations: 62.48 kB / 496 MB, free: 4.035 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.3041, allocations: 43.61 kB / 496 MB, free: 3.992 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.3044, allocations: 282.3 kB / 496.3 MB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.3044, allocations: 16.56 kB / 496.3 MB, free: 3.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.3045, allocations: 31.98 kB / 496.3 MB, free: 3.629 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004625/0.3049, allocations: 292.5 kB / 496.6 MB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.305, allocations: 0 / 496.6 MB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.305, allocations: 16 kB / 496.6 MB, free: 3.312 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.305, allocations: 4 kB / 496.6 MB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.3054, allocations: 214 kB / 496.9 MB, free: 3.098 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.307, allocations: 1.144 MB / 498 MB, free: 1.867 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004753/0.3075, allocations: 218.8 kB / 498.2 MB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.3075, allocations: 8.188 kB / 498.2 MB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003099/0.3078, allocations: 166.7 kB / 498.4 MB, free: 1.461 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.3078, allocations: 0 / 498.4 MB, free: 1.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001349/0.3092, allocations: 0.5238 MB / 498.9 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.3093, allocations: 110.8 kB / 499 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.3095, allocations: 212.2 kB / 499.2 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.3095, allocations: 33.69 kB / 499.3 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3096, allocations: 168.5 kB / 499.4 MB, free: 368 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.3097, allocations: 70.98 kB / 499.5 MB, free: 296 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.3097, allocations: 7.938 kB / 499.5 MB, free: 288 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3098, allocations: 334.8 kB / 499.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.31, allocations: 83.91 kB / 499.9 MB, free: 15.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.3102, allocations: 120.5 kB / 0.4883 GB, free: 15.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.3104, allocations: 85.19 kB / 0.4884 GB, free: 15.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3104, allocations: 0 / 0.4884 GB, free: 15.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004746/0.3108, allocations: 300.7 kB / 0.4887 GB, free: 15.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3109, allocations: 6.5 kB / 0.4887 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3109, allocations: 0 / 0.4887 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003236/0.3112, allocations: 93.84 kB / 0.4888 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3114, allocations: 31.92 kB / 0.4888 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.3134, allocations: 1.963 MB / 0.4907 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.3137, allocations: 35.89 kB / 0.4907 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.3137, allocations: 8 kB / 0.4908 GB, free: 13.08 MB / 378.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: 8 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.idealTriac.idealThyristor.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.3139, allocations: 151.4 kB / 0.4909 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.3139, allocations: 23.72 kB / 0.4909 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.233e-05/0.314, allocations: 34.17 kB / 0.491 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.314, allocations: 0 / 0.491 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.314, allocations: 0 / 0.491 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.314, allocations: 0 / 0.491 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.3144, allocations: 361.3 kB / 0.4913 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3144, allocations: 4 kB / 0.4913 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.3145, allocations: 27.97 kB / 0.4913 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/0.3148, allocations: 84.8 kB / 0.4914 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.3148, allocations: 4 kB / 0.4914 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.3167, allocations: 1.976 MB / 0.4933 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3168, allocations: 3.953 kB / 0.4933 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007291/0.3175, allocations: 416.3 kB / 0.4937 GB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.3176, allocations: 128.9 kB / 0.4939 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.3177, allocations: 4 kB / 0.4939 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.3178, allocations: 23.98 kB / 0.4939 GB, free: 9.629 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.3179, allocations: 31.94 kB / 0.4939 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.318, allocations: 8 kB / 0.4939 GB, free: 9.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001532/0.3181, allocations: 176.4 kB / 0.4941 GB, free: 9.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3181, allocations: 0 / 0.4941 GB, free: 9.418 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003946/0.3185, allocations: 99.84 kB / 0.4942 GB, free: 9.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off) * Number of discrete states: 2 (idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001037/0.3196, allocations: 0.9637 MB / 0.4951 GB, free: 8.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006202/0.3202, allocations: 361 kB / 0.4955 GB, free: 7.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3202, allocations: 0 / 0.4955 GB, free: 7.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003804/0.3206, allocations: 274.7 kB / 0.4957 GB, free: 7.684 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.3209, allocations: 54.83 kB / 0.4958 GB, free: 7.629 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.3234, allocations: 1.928 MB / 0.4977 GB, free: 5.648 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3237, allocations: 0.7752 MB / 0.4984 GB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.698e-05/0.3238, allocations: 22.23 kB / 0.4985 GB, free: 4.824 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.324, allocations: 79.78 kB / 0.4985 GB, free: 4.746 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.324, allocations: 4 kB / 0.4985 GB, free: 4.742 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.18/0.504, allocations: 6.666 MB / 0.505 GB, free: 95.73 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/0.5042, allocations: 209.9 kB / 0.5052 GB, free: 95.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.168, allocations: 0 / 0.5052 GB, free: 95.49 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_IdealTriacCircuit_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_IdealTriacCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat does not exist to compare? outputFormat=mat