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.0009068/0.0009068, allocations: 73.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.0009593/0.0009593, 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 1.03/1.03, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.02704/0.02704, allocations: 7.111 MB / 268.1 MB, free: 5.906 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.523e-06/1.523e-06, allocations: 0 / 339.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.342e-05, allocations: 4.984 kB / 339.5 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.ImprovedCircuit): time 0.007649/0.007672, allocations: 9.334 MB / 348.8 MB, free: 2.066 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004355/0.01203, allocations: 2.321 MB / 351.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.01305, allocations: 59.69 kB / 351.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006236/0.01367, allocations: 356.2 kB / 351.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.01473, allocations: 0.5923 MB / 352.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009259/0.01566, allocations: 0.6084 MB / 352.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001968/0.01763, allocations: 2.539 MB / 355.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008414/0.01847, allocations: 0.8047 MB / 356.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.01968, allocations: 1.415 MB / 357.5 MB, free: 9.309 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006808/0.02036, allocations: 0.8139 MB / 358.3 MB, free: 8.492 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002172/0.02058, allocations: 248 kB / 358.6 MB, free: 8.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.02079, allocations: 252 kB / 358.8 MB, free: 8.004 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.02105, allocations: 0.5293 MB / 359.4 MB, free: 7.473 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005084/0.02156, allocations: 0.7988 MB / 360.2 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.02282, allocations: 1.634 MB / 361.8 MB, free: 5.031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.02282, allocations: 0 / 361.8 MB, free: 5.031 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.02282, allocations: 0 / 361.8 MB, free: 5.031 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.02284, allocations: 0 / 361.8 MB, free: 5.031 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.002181/0.02502, allocations: 2.438 MB / 364.2 MB, free: 2.539 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.02506, allocations: 8.031 kB / 364.2 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003406/0.0254, allocations: 411.4 kB / 364.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000849/0.02625, allocations: 0.8997 MB / 365.5 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.749e-05/0.02633, allocations: 156.5 kB / 365.7 MB, free: 1.039 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.02649, allocations: 216.4 kB / 365.9 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.02811, allocations: 2.371 MB / 368.3 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.02814, allocations: 3.938 kB / 368.3 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.36e-05/0.02824, allocations: 84 kB / 368.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.02826, allocations: 52 kB / 368.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006414/0.0289, allocations: 0.5885 MB / 369 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005444/0.03435, allocations: 6.236 MB / 375.2 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007405/0.03509, allocations: 0.6792 MB / 375.9 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.03536, allocations: 278.4 kB / 376.2 MB, free: 5.836 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.0354, allocations: 25 kB / 376.2 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.03544, allocations: 58.38 kB / 376.3 MB, free: 5.742 MB / 346.7 MB Notification: Performance of pre-optimization done (n=117): time 2.805e-06/0.03544, allocations: 0 / 376.3 MB, free: 5.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=117): time 0.001264/0.03671, allocations: 0.9745 MB / 377.2 MB, free: 4.746 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001651/0.03687, allocations: 0.5766 MB / 377.8 MB, free: 4.031 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/0.03746, allocations: 0.9069 MB / 378.7 MB, free: 3.102 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.03751, allocations: 49.7 kB / 378.8 MB, free: 3.047 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004176/0.03793, allocations: 0.9977 MB / 379.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.03813, allocations: 404.5 kB / 380.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/0.03838, allocations: 316.9 kB / 380.5 MB, free: 1.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.596e-05/0.03847, allocations: 484.7 kB / 381 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.03865, allocations: 159.8 kB / 381.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009254/0.03958, allocations: 1.457 MB / 382.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007297/0.04031, allocations: 1.075 MB / 383.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.04031, allocations: 4 kB / 383.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001167/0.04148, allocations: 1.144 MB / 384.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.0415, allocations: 11.98 kB / 384.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.04152, allocations: 16 kB / 384.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004099/0.04192, allocations: 171.7 kB / 385 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.04335, allocations: 0.6241 MB / 385.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.05354, allocations: 24.71 MB / 410.3 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000975/0.05452, allocations: 215 kB / 410.5 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/0.05459, allocations: 59.98 kB / 410.6 MB, free: 0.9414 MB / 378.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.0007417/0.05533, allocations: 284.1 kB / 410.9 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.05551, allocations: 175.2 kB / 411 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.05563, allocations: 144.1 kB / 411.2 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.05563, allocations: 15.94 kB / 411.2 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.05565, allocations: 0 / 411.2 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.05566, allocations: 3.984 kB / 411.2 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.05762, allocations: 1.804 MB / 413 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.05763, allocations: 4 kB / 413 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.05799, allocations: 167.7 kB / 413.2 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002951/0.05829, allocations: 174.9 kB / 413.3 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.05832, allocations: 24 kB / 413.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003289/0.06161, allocations: 8.13 MB / 421.5 MB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.06162, allocations: 8.094 kB / 421.5 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.06274, allocations: 1.16 MB / 422.7 MB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.06305, allocations: 226.9 kB / 422.9 MB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.255e-05/0.06314, allocations: 28 kB / 422.9 MB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/0.06355, allocations: 131.9 kB / 423 MB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.06369, allocations: 124.7 kB / 423.2 MB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.06373, allocations: 27.98 kB / 423.2 MB, free: 3.691 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003451/0.06407, allocations: 0.5055 MB / 423.7 MB, free: 3.176 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.06407, allocations: 4 kB / 423.7 MB, free: 3.172 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001329/0.0654, allocations: 0.5338 MB / 424.2 MB, free: 2.637 MB / 394.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.0001783/0.06558, allocations: 158.9 kB / 424.4 MB, free: 2.473 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.06783, allocations: 1.22 MB / 425.6 MB, free: 1.242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/0.06784, allocations: 4 kB / 425.6 MB, free: 1.238 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006286/0.06847, allocations: 1.026 MB / 426.6 MB, free: 136 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007183/0.06918, allocations: 272.6 kB / 426.9 MB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.07258, allocations: 2.817 MB / 429.7 MB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.07308, allocations: 0.7012 MB / 430.4 MB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006843/0.07377, allocations: 458 kB / 430.9 MB, free: 11.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/0.07377, allocations: 0 / 430.9 MB, free: 11.79 MB / 410.7 MB Notification: Performance of Templates: time 0.1595/0.2333, allocations: 79.53 MB / 0.4984 GB, free: 87.93 MB / 410.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: 5.537031353916973]