Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.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.001004/0.001004, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001025/0.001025, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9476/0.9476, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo): time 0.0259/0.0259, allocations: 7.112 MB / 268.2 MB, free: 5.902 MB / 250.7 MB " [Timeout remaining time 180] Using package ChaoticCircuits with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ChaoticCircuits.RLD_Circuit.PhysicalModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel") translateModel(ChaoticCircuits.RLD_Circuit.PhysicalModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.001e-06/1.001e-06, allocations: 0 / 339.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.706e-05, allocations: 4.844 kB / 339.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RLD_Circuit.PhysicalModel): time 0.002281/0.002298, allocations: 2.62 MB / 342.1 MB, free: 7.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.003317, allocations: 0.7281 MB / 342.8 MB, free: 7.039 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.003437, allocations: 4 kB / 342.8 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.003623, allocations: 71.42 kB / 342.9 MB, free: 6.965 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.003777, allocations: 91.25 kB / 343 MB, free: 6.875 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.003951, allocations: 75.77 kB / 343.1 MB, free: 6.801 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.004164, allocations: 321.9 kB / 343.4 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.004261, allocations: 57.72 kB / 343.4 MB, free: 6.434 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.004474, allocations: 179.5 kB / 343.6 MB, free: 6.258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.695e-05/0.004561, allocations: 107.7 kB / 343.7 MB, free: 6.152 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.004585, allocations: 24 kB / 343.7 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.077e-05/0.004635, allocations: 28 kB / 343.8 MB, free: 6.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.004659, allocations: 63.69 kB / 343.8 MB, free: 6.039 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.004708, allocations: 95.75 kB / 343.9 MB, free: 5.945 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.004873, allocations: 199.2 kB / 344.1 MB, free: 5.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004876, allocations: 0 / 344.1 MB, free: 5.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004877, allocations: 0 / 344.1 MB, free: 5.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.004883, allocations: 0 / 344.1 MB, free: 5.75 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0005547/0.005437, allocations: 0.5972 MB / 344.7 MB, free: 5.117 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.005466, allocations: 8.031 kB / 344.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.005576, allocations: 56.73 kB / 344.8 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.005732, allocations: 212 kB / 345 MB, free: 4.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.005743, allocations: 12.88 kB / 345 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.005768, allocations: 20.38 kB / 345 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.005933, allocations: 174.8 kB / 345.2 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.005942, allocations: 0 / 345.2 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.005957, allocations: 12 kB / 345.2 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.005962, allocations: 4 kB / 345.2 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.324e-05/0.006035, allocations: 63.42 kB / 345.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006128/0.006648, allocations: 0.6372 MB / 345.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.00678, allocations: 111 kB / 346 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.734e-05/0.006848, allocations: 55.7 kB / 346.1 MB, free: 3.664 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.00686, allocations: 4 kB / 346.1 MB, free: 3.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/0.006874, allocations: 37.38 kB / 346.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.143e-06/0.006875, allocations: 7.938 kB / 346.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.001452/0.008327, allocations: 0.6438 MB / 346.8 MB, free: 2.926 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.503e-05/0.008342, allocations: 51.41 kB / 346.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.008448, allocations: 266.6 kB / 347.1 MB, free: 2.582 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.008463, allocations: 29.7 kB / 347.1 MB, free: 2.547 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.008521, allocations: 211.1 kB / 347.3 MB, free: 2.336 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.008549, allocations: 67.41 kB / 347.4 MB, free: 2.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.008598, allocations: 51.34 kB / 347.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.603e-05/0.008644, allocations: 0.5117 MB / 347.9 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.839e-05/0.008682, allocations: 23.98 kB / 348 MB, free: 1.664 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.827e-05/0.008731, allocations: 54.08 kB / 348 MB, free: 1.605 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.232e-05/0.008823, allocations: 87.23 kB / 348.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.008824, allocations: 0 / 348.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005944/0.009419, allocations: 272 kB / 348.4 MB, free: 1.238 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.00943, allocations: 8 kB / 348.4 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.009435, allocations: 0 / 348.4 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006383/0.01007, allocations: 187.4 kB / 348.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.624e-05/0.01016, allocations: 31.92 kB / 348.6 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.01168, allocations: 2.268 MB / 350.8 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.97e-05/0.01177, allocations: 12 kB / 350.9 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.01178, allocations: 7.938 kB / 350.9 MB, free: 14.61 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.366e-05/0.01188, allocations: 168.6 kB / 351 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.01192, allocations: 27.84 kB / 351.1 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006038/0.01253, allocations: 258.8 kB / 351.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.01253, allocations: 3.938 kB / 351.3 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01253, allocations: 4 kB / 351.3 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01254, allocations: 3.938 kB / 351.3 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000936/0.01347, allocations: 0.5637 MB / 351.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.01348, allocations: 4 kB / 351.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.226e-05/0.01357, allocations: 27.92 kB / 351.9 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006445/0.01422, allocations: 171.5 kB / 352.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.01423, allocations: 11.98 kB / 352.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.01562, allocations: 2.193 MB / 354.3 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.01562, allocations: 0 / 354.3 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006731/0.01629, allocations: 446.4 kB / 354.7 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.01632, allocations: 19.8 kB / 354.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.01634, allocations: 8 kB / 354.8 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.609e-05/0.01643, allocations: 15.98 kB / 354.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.01647, allocations: 11.97 kB / 354.8 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.01649, allocations: 11.98 kB / 354.8 MB, free: 10.47 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.09e-05/0.01657, allocations: 193.5 kB / 355 MB, free: 10.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01657, allocations: 0 / 355 MB, free: 10.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002682/0.01684, allocations: 68.03 kB / 355 MB, free: 10.22 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inductor.i,capacitor.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.804e-05/0.01692, allocations: 107.1 kB / 355.2 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.01721, allocations: 291.5 kB / 355.4 MB, free: 9.801 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01722, allocations: 4 kB / 355.4 MB, free: 9.797 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.01736, allocations: 245.3 kB / 355.7 MB, free: 9.535 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.01759, allocations: 44.91 kB / 355.7 MB, free: 9.492 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008535/0.01845, allocations: 0.5514 MB / 356.3 MB, free: 8.902 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.958e-05/0.01854, allocations: 146.4 kB / 356.4 MB, free: 8.738 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.01866, allocations: 110.2 kB / 356.5 MB, free: 8.629 MB / 282.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01866, allocations: 0 / 356.5 MB, free: 8.629 MB / 282.7 MB Notification: Performance of Templates: time 0.004174/0.02283, allocations: 4.348 MB / 360.9 MB, free: 4.281 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.sim & ./ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel > ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.7671666559763253]