Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.RikitakeSystem.ImprovedCircuit.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.0009525/0.0009525, allocations: 88.42 kB / 19.93 MB, free: 4.613 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.001214/0.001214, allocations: 173.9 kB / 23.21 MB, free: 1.332 MB / 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.9324/0.9324, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.02601/0.02601, allocations: 7.107 MB / 267.1 MB, free: 6.254 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.RikitakeSystem.ImprovedCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RikitakeSystem.ImprovedCircuit") translateModel(ChaoticCircuits.RikitakeSystem.ImprovedCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RikitakeSystem.ImprovedCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 393.5 MB, free: 3.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.8e-05, allocations: 2.281 kB / 393.5 MB, free: 3.492 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.ImprovedCircuit): time 0.00607/0.006088, allocations: 8.57 MB / 402.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.008521, allocations: 2.305 MB / 404.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004591/0.00898, allocations: 59.69 kB / 404.4 MB, free: 8.504 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004577/0.009438, allocations: 364.3 kB / 404.8 MB, free: 8.145 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006854/0.01012, allocations: 0.5963 MB / 405.4 MB, free: 7.543 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.01078, allocations: 0.6007 MB / 406 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001389/0.01217, allocations: 2.543 MB / 408.5 MB, free: 4.383 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007641/0.01293, allocations: 0.8085 MB / 409.3 MB, free: 3.531 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008743/0.0138, allocations: 1.407 MB / 410.7 MB, free: 2.121 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005529/0.01436, allocations: 0.7436 MB / 411.5 MB, free: 1.375 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002049/0.01456, allocations: 248 kB / 411.7 MB, free: 1.133 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.01478, allocations: 252 kB / 412 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.01503, allocations: 0.5331 MB / 412.5 MB, free: 360 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1294/0.1444, allocations: 0.7715 MB / 413.3 MB, free: 18.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00272/0.1471, allocations: 2.661 MB / 415.9 MB, free: 18.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1471, allocations: 2.156 kB / 415.9 MB, free: 18.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1471, allocations: 0 / 415.9 MB, free: 18.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.906e-05/0.1472, allocations: 1.125 kB / 415.9 MB, free: 18.18 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.002951/0.1502, allocations: 2.311 MB / 418.3 MB, free: 17.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1502, allocations: 10.39 kB / 418.3 MB, free: 17.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/0.1505, allocations: 247.9 kB / 418.5 MB, free: 17.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.1515, allocations: 0.9023 MB / 419.4 MB, free: 16.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.707e-05/0.1516, allocations: 155 kB / 419.6 MB, free: 16.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.1517, allocations: 202.5 kB / 419.8 MB, free: 16.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.1541, allocations: 2.871 MB / 422.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.1541, allocations: 1.281 kB / 422.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.1542, allocations: 89.5 kB / 422.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.1543, allocations: 48.81 kB / 422.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.1559, allocations: 1.317 MB / 424.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006043/0.162, allocations: 5.931 MB / 430 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.1631, allocations: 0.976 MB / 431 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/0.1636, allocations: 443.7 kB / 431.4 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.1636, allocations: 21.7 kB / 431.4 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.1637, allocations: 52.97 kB / 431.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 2.705e-06/0.1637, allocations: 5.531 kB / 431.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=117): time 0.001752/0.1654, allocations: 1.361 MB / 432.9 MB, free: 9.832 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.1655, allocations: 0.5721 MB / 433.4 MB, free: 9.141 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008666/0.1664, allocations: 0.9708 MB / 434.4 MB, free: 8.707 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.1664, allocations: 54.36 kB / 434.5 MB, free: 8.656 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.1667, allocations: 0.9367 MB / 435.4 MB, free: 7.922 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.1669, allocations: 403.8 kB / 435.8 MB, free: 7.613 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/0.1671, allocations: 299.5 kB / 436.1 MB, free: 7.465 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.413e-05/0.1671, allocations: 301.1 kB / 436.4 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/0.1676, allocations: 389.2 kB / 436.8 MB, free: 7.027 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006487/0.1682, allocations: 1.473 MB / 438.2 MB, free: 5.492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.1692, allocations: 1.235 MB / 439.5 MB, free: 4.574 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.1692, allocations: 4.969 kB / 439.5 MB, free: 4.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001623/0.1708, allocations: 1.526 MB / 441 MB, free: 3.906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1709, allocations: 13.31 kB / 441 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.1709, allocations: 11.34 kB / 441 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003562/0.1712, allocations: 156.5 kB / 441.2 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/0.1731, allocations: 0.7994 MB / 442 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/0.1838, allocations: 19.3 MB / 461.3 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009198/0.1847, allocations: 254.9 kB / 461.5 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.1848, allocations: 68 kB / 461.6 MB, free: 12 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 26 (adder_z_D.limiter.satNeg,adder_z_D.limiter.satPos,multiplier_x1x2.limiter2.satNeg,multiplier_x1x2.limiter2.satPos,multiplier_x1x2.limiter1.satNeg,multiplier_x1x2.limiter1.satPos,multiplier_x1z.limiter2.satNeg,multiplier_x1z.limiter2.satPos,multiplier_x1z.limiter1.satNeg,multiplier_x1z.limiter1.satPos,multiplier_x2z.limiter2.satNeg,multiplier_x2z.limiter2.satPos,multiplier_x2z.limiter1.satNeg,multiplier_x2z.limiter1.satPos,inverter_z.limiter.satNeg,inverter_z.limiter.satPos,integrator_z.limiter.satNeg,integrator_z.limiter.satPos,inverter_x2.limiter.satNeg,inverter_x2.limiter.satPos,integrator_x2.limiter.satNeg,integrator_x2.limiter.satPos,inverter_x1.limiter.satNeg,inverter_x1.limiter.satPos,integrator_x1.limiter.satNeg,integrator_x1.limiter.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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 {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005933/0.1854, allocations: 396.1 kB / 462 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.1855, allocations: 143.1 kB / 462.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.1856, allocations: 140.2 kB / 462.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.1856, allocations: 12 kB / 462.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.065e-05/0.1857, allocations: 3.984 kB / 462.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1857, allocations: 3.984 kB / 462.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.1881, allocations: 2.263 MB / 464.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1881, allocations: 4 kB / 464.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.1885, allocations: 167.2 kB / 464.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002033/0.1887, allocations: 142.3 kB / 464.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.805e-05/0.1887, allocations: 28 kB / 464.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002701/0.1914, allocations: 6.075 MB / 470.9 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1914, allocations: 4.031 kB / 470.9 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.1929, allocations: 1.567 MB / 472.5 MB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.1932, allocations: 222.8 kB / 472.7 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/0.1933, allocations: 32.05 kB / 472.8 MB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005185/0.1938, allocations: 167.8 kB / 472.9 MB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.194, allocations: 104.1 kB / 473 MB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.194, allocations: 43.92 kB / 473.1 MB, free: 4.129 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005364/0.1945, allocations: 0.6152 MB / 473.7 MB, free: 3.504 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1945, allocations: 4 kB / 473.7 MB, free: 3.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001265/0.1958, allocations: 0.526 MB / 474.2 MB, free: 2.973 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 10 (integrator_x1.firstOrder.y,c_x1.v,inverter_x1.firstOrder.y,integrator_x2.firstOrder.y,c_x2.v,inverter_x2.firstOrder.y,integrator_z.firstOrder.y,c_z.v,inverter_z.firstOrder.y,adder_z_D.firstOrder.y) * Number of discrete variables: 26 (integrator_x1.limiter.satPos,integrator_x1.limiter.satNeg,inverter_x1.limiter.satPos,inverter_x1.limiter.satNeg,integrator_x2.limiter.satPos,integrator_x2.limiter.satNeg,inverter_x2.limiter.satPos,inverter_x2.limiter.satNeg,integrator_z.limiter.satPos,integrator_z.limiter.satNeg,inverter_z.limiter.satPos,inverter_z.limiter.satNeg,multiplier_x2z.limiter1.satPos,multiplier_x2z.limiter1.satNeg,multiplier_x2z.limiter2.satPos,multiplier_x2z.limiter2.satNeg,multiplier_x1z.limiter1.satPos,multiplier_x1z.limiter1.satNeg,multiplier_x1z.limiter2.satPos,multiplier_x1z.limiter2.satNeg,multiplier_x1x2.limiter1.satPos,multiplier_x1x2.limiter1.satNeg,multiplier_x1x2.limiter2.satPos,multiplier_x1x2.limiter2.satNeg,adder_z_D.limiter.satPos,adder_z_D.limiter.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,6,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000175/0.196, allocations: 164.6 kB / 474.4 MB, free: 2.812 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002738/0.1987, allocations: 1.625 MB / 476 MB, free: 1.234 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.1987, allocations: 0 / 476 MB, free: 1.234 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008524/0.1996, allocations: 1.001 MB / 477 MB, free: 208 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007487/0.2003, allocations: 258.3 kB / 477.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003141/0.2035, allocations: 2.929 MB / 480.2 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.2039, allocations: 0.7052 MB / 480.9 MB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.2041, allocations: 112.5 kB / 481 MB, free: 12.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2041, allocations: 0 / 481 MB, free: 12.14 MB / 378.7 MB Notification: Performance of Templates: time 0.05148/0.2556, allocations: 79.52 MB / 0.5474 GB, free: 12.57 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.RikitakeSystem.ImprovedCircuit.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.RikitakeSystem.ImprovedCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RikitakeSystem.ImprovedCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RikitakeSystem.ImprovedCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.RikitakeSystem.ImprovedCircuit.sim & ./ChaoticCircuits_ChaoticCircuits.RikitakeSystem.ImprovedCircuit > ChaoticCircuits_ChaoticCircuits.RikitakeSystem.ImprovedCircuit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.131353456992656]