Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 114.7 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 203.8 kB / 22.11 MB, free: 0.9531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 207.6 MB / 232.5 MB, free: 3.941 MB / 174.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 52.41 kB / 343 MB, free: 9.992 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.09179, allocations: 49.13 MB / 392.1 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005555/0.09734, allocations: 3.918 MB / 396 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002679/0.1, allocations: 1.033 MB / 397.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000586/0.1006, allocations: 11.88 kB / 397.1 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.101, allocations: 87.14 kB / 397.2 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006138/0.1016, allocations: 174.5 kB / 397.3 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/0.1022, allocations: 203.7 kB / 397.5 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.1033, allocations: 0.7627 MB / 398.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.1037, allocations: 120.9 kB / 398.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005983/0.1043, allocations: 303 kB / 398.7 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006044/0.1049, allocations: 334.7 kB / 399 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.105, allocations: 80 kB / 399.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1051, allocations: 80 kB / 399.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.1053, allocations: 151.5 kB / 399.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003237/0.1056, allocations: 318.6 kB / 399.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000903/0.1065, allocations: 0.7979 MB / 400.5 MB, free: 328 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1065, allocations: 0 / 400.5 MB, free: 328 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1065, allocations: 0 / 400.5 MB, free: 328 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.1065, allocations: 0 / 400.5 MB, free: 328 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.002695/0.1092, allocations: 0.9949 MB / 401.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.1093, allocations: 12.03 kB / 401.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.017e-05/0.1093, allocations: 13.19 kB / 401.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.385e-05/0.1094, allocations: 66.72 kB / 401.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.1095, allocations: 68.5 kB / 401.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00068/0.1102, allocations: 402.3 kB / 402 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.1103, allocations: 33.12 kB / 402 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.104e-05/0.1103, allocations: 35.98 kB / 402.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.1118, allocations: 0.5591 MB / 402.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.1118, allocations: 3.938 kB / 402.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/0.1118, allocations: 16 kB / 402.6 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.1119, allocations: 8 kB / 402.7 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.1136, allocations: 0.5699 MB / 403.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003701/0.1173, allocations: 2.004 MB / 405.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003704/0.121, allocations: 0.7564 MB / 406 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009389/0.122, allocations: 340.6 kB / 406.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.122, allocations: 7.938 kB / 406.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.1231, allocations: 407.6 kB / 406.7 MB, free: 9.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.994e-06/0.1231, allocations: 0 / 406.7 MB, free: 9.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.009426/0.1325, allocations: 1.783 MB / 408.5 MB, free: 7.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.1326, allocations: 89.11 kB / 408.6 MB, free: 7.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.133, allocations: 381.7 kB / 409 MB, free: 7.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.322e-05/0.1331, allocations: 33.7 kB / 409 MB, free: 7.469 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.1332, allocations: 228.9 kB / 409.2 MB, free: 7.242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.1334, allocations: 138.8 kB / 409.4 MB, free: 7.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.1335, allocations: 70.06 kB / 409.4 MB, free: 7.027 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1337, allocations: 362.7 kB / 409.8 MB, free: 6.664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008597/0.1346, allocations: 268.6 kB / 410 MB, free: 6.402 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008996/0.1355, allocations: 305.9 kB / 410.3 MB, free: 6.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.1371, allocations: 0.5407 MB / 410.9 MB, free: 5.535 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1371, allocations: 3.938 kB / 410.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.004589/0.1417, allocations: 1.049 MB / 411.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/0.1417, allocations: 37.69 kB / 412 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1417, allocations: 4 kB / 412 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.143, allocations: 396.5 kB / 412.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.1434, allocations: 83.91 kB / 412.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008545/0.152, allocations: 3.677 MB / 416.1 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006965/0.1527, allocations: 87.7 kB / 416.2 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.1527, allocations: 15.98 kB / 416.2 MB, free: 24 kB / 334.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: 7 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,simpleTriac.idealDiode1.off,simpleTriac.idealDiode.off,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002777/0.153, allocations: 166.7 kB / 416.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.8e-05/0.1531, allocations: 47.72 kB / 416.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.1532, allocations: 60.31 kB / 416.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1532, allocations: 4 kB / 416.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1532, allocations: 0 / 416.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.1532, allocations: 3.984 kB / 416.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006978/0.1539, allocations: 0.5872 MB / 417.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1539, allocations: 0 / 417.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/0.1544, allocations: 79.88 kB / 417.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.1556, allocations: 388.5 kB / 417.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.1556, allocations: 12 kB / 417.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008438/0.1641, allocations: 3.678 MB / 421.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1641, allocations: 0 / 421.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004598/0.1687, allocations: 1.252 MB / 422.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.169, allocations: 176.6 kB / 422.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-05/0.169, allocations: 8 kB / 422.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005423/0.1696, allocations: 63.92 kB / 422.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.1697, allocations: 47.94 kB / 422.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.1698, allocations: 11.98 kB / 422.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003585/0.1701, allocations: 279.2 kB / 423.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1701, allocations: 0 / 423.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007541/0.1709, allocations: 167.8 kB / 423.2 MB, free: 8.785 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,simpleTriac.thyristor.vControl,simpleTriac.thyristor1.vControl) * Number of discrete variables: 5 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004913/0.1758, allocations: 1.803 MB / 425 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002605/0.1784, allocations: 0.8648 MB / 425.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1784, allocations: 0 / 425.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.1799, allocations: 0.5178 MB / 426.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.1804, allocations: 81.69 kB / 426.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/0.1937, allocations: 5.462 MB / 432 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.1942, allocations: 0.8239 MB / 432.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002033/0.1944, allocations: 47.25 kB / 432.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.1946, allocations: 147.4 kB / 433 MB, free: 14.84 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.1946, allocations: 0 / 433 MB, free: 14.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0452/0.2398, allocations: 17.61 MB / 450.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.58, allocations: 8.047 kB / 450.6 MB, free: 13.14 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_fmu --startTime=0 --stopTime=0.001 --stepSize=5e-07 --timeout=50 --tolerance=1e-12 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.918119394977111] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 12.736291882989462 12.750020243 12.640611938 Calling exit ...