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.001298/0.001298, allocations: 104.3 kB / 19.71 MB, free: 436 kB / 13.93 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.001464/0.001464, allocations: 217.2 kB / 23 MB, free: 2.965 MB / 13.93 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.016/1.016, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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.02782/0.02782, allocations: 9.546 MB / 322.7 MB, free: 8.457 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: ChaoticCircuits requested package Modelica of version 4.0.0. Modelica 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.001567/0.001567, allocations: 67.91 kB / 449.1 MB, free: 37.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08421/0.08578, allocations: 55.78 MB / 0.4931 GB, free: 14.08 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.ImprovedCircuit): time 0.006827/0.09261, allocations: 8.567 MB / 0.5014 GB, free: 5.469 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004416/0.09702, allocations: 2.297 MB / 0.5037 GB, free: 3.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/0.09846, allocations: 55.75 kB / 0.5037 GB, free: 3.105 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007694/0.09923, allocations: 360.3 kB / 0.5041 GB, free: 2.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.1005, allocations: 0.5654 MB / 0.5046 GB, free: 2.18 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.1016, allocations: 0.6086 MB / 0.5052 GB, free: 1.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002653/0.1043, allocations: 2.47 MB / 0.5076 GB, free: 15.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009329/0.1052, allocations: 0.8009 MB / 0.5084 GB, free: 14.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009241/0.1062, allocations: 0.9341 MB / 0.5093 GB, free: 13.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008249/0.107, allocations: 0.8859 MB / 0.5102 GB, free: 12.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002552/0.1072, allocations: 248 kB / 0.5104 GB, free: 12.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.1075, allocations: 252 kB / 0.5107 GB, free: 11.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002834/0.1078, allocations: 0.5177 MB / 0.5112 GB, free: 11.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006682/0.1084, allocations: 0.9333 MB / 0.5121 GB, free: 10.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.1102, allocations: 2.634 MB / 0.5147 GB, free: 7.824 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1102, allocations: 8 kB / 0.5147 GB, free: 7.816 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1102, allocations: 0 / 0.5147 GB, free: 7.816 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.538e-05/0.1102, allocations: 0 / 0.5147 GB, free: 7.816 MB / 378.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.00256/0.1128, allocations: 2.32 MB / 0.5169 GB, free: 5.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1128, allocations: 8.031 kB / 0.5169 GB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002538/0.1131, allocations: 255.4 kB / 0.5172 GB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.1141, allocations: 0.9055 MB / 0.5181 GB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.65e-05/0.1142, allocations: 156.4 kB / 0.5182 GB, free: 4.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.1144, allocations: 204.1 kB / 0.5184 GB, free: 3.906 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.1168, allocations: 2.873 MB / 0.5212 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.1168, allocations: 0 / 0.5212 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.1169, allocations: 88 kB / 0.5213 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/0.1169, allocations: 56 kB / 0.5214 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.1186, allocations: 1.323 MB / 0.5226 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006927/0.1255, allocations: 5.916 MB / 0.5284 GB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.1267, allocations: 0.9809 MB / 0.5294 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/0.1272, allocations: 447.6 kB / 0.5298 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.052e-05/0.1273, allocations: 17 kB / 0.5298 GB, free: 7.547 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.1273, allocations: 51.56 kB / 0.5299 GB, free: 7.488 MB / 394.7 MB Notification: Performance of pre-optimization done (n=117): time 4.077e-06/0.1273, allocations: 0 / 0.5299 GB, free: 7.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=117): time 0.001966/0.1293, allocations: 1.363 MB / 0.5312 GB, free: 6.109 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/0.1295, allocations: 0.5766 MB / 0.5318 GB, free: 5.398 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009282/0.1304, allocations: 0.9714 MB / 0.5327 GB, free: 4.406 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.094e-05/0.1305, allocations: 49.7 kB / 0.5328 GB, free: 4.352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004408/0.1309, allocations: 0.9445 MB / 0.5337 GB, free: 3.395 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.1312, allocations: 404.6 kB / 0.5341 GB, free: 2.996 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002786/0.1314, allocations: 303.4 kB / 0.5344 GB, free: 2.691 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.1315, allocations: 309.1 kB / 0.5347 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.132, allocations: 391.8 kB / 0.535 GB, free: 2.004 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008813/0.1329, allocations: 1.465 MB / 0.5365 GB, free: 168 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.134, allocations: 1.236 MB / 0.5377 GB, free: 14.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.134, allocations: 4 kB / 0.5377 GB, free: 14.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001854/0.1359, allocations: 1.521 MB / 0.5392 GB, free: 13.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.1359, allocations: 8 kB / 0.5392 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.1359, allocations: 16 kB / 0.5392 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004153/0.1363, allocations: 149 kB / 0.5393 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/0.1384, allocations: 0.8075 MB / 0.5401 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2194/0.3577, allocations: 19.31 MB / 0.559 GB, free: 47.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.3589, allocations: 256.5 kB / 0.5592 GB, free: 47.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.359, allocations: 69.16 kB / 0.5593 GB, free: 47.59 MB / 410.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.0006856/0.3597, allocations: 393.1 kB / 0.5596 GB, free: 47.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.3599, allocations: 140.3 kB / 0.5598 GB, free: 47.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.3601, allocations: 137.9 kB / 0.5599 GB, free: 47.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.3601, allocations: 15.47 kB / 0.5599 GB, free: 47.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/0.3601, allocations: 3.391 kB / 0.5599 GB, free: 47.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.3601, allocations: 5.531 kB / 0.5599 GB, free: 47.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/0.3635, allocations: 2.271 MB / 0.5622 GB, free: 46.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3635, allocations: 3.156 kB / 0.5622 GB, free: 46.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004588/0.3639, allocations: 170.7 kB / 0.5623 GB, free: 46.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/0.3642, allocations: 138.2 kB / 0.5624 GB, free: 46.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.017e-05/0.3643, allocations: 32.94 kB / 0.5625 GB, free: 46.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00272/0.367, allocations: 6.076 MB / 0.5684 GB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.367, allocations: 6.594 kB / 0.5684 GB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.3688, allocations: 1.56 MB / 0.5699 GB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003978/0.3692, allocations: 225.4 kB / 0.5702 GB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.3694, allocations: 32.95 kB / 0.5702 GB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006513/0.37, allocations: 171.3 kB / 0.5704 GB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/0.3702, allocations: 106.2 kB / 0.5705 GB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.891e-05/0.3703, allocations: 41.8 kB / 0.5705 GB, free: 40.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009665/0.3713, allocations: 0.6106 MB / 0.5711 GB, free: 39.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3713, allocations: 4.531 kB / 0.5711 GB, free: 39.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001859/0.3731, allocations: 0.5345 MB / 0.5716 GB, free: 39.68 MB / 410.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.0001731/0.3733, allocations: 153.3 kB / 0.5718 GB, free: 39.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003474/0.3768, allocations: 1.618 MB / 0.5733 GB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.3768, allocations: 2.75 kB / 0.5733 GB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009916/0.3778, allocations: 1.011 MB / 0.5743 GB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009556/0.3787, allocations: 265.2 kB / 0.5746 GB, free: 38.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/0.383, allocations: 3.035 MB / 0.5775 GB, free: 36.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006674/0.3837, allocations: 0.7101 MB / 0.5782 GB, free: 36.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.3839, allocations: 115.8 kB / 0.5784 GB, free: 36.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/0.3839, allocations: 0 / 0.5784 GB, free: 36.48 MB / 410.7 MB Notification: Performance of Templates: time 0.04472/0.4287, allocations: 79.51 MB / 0.656 GB, free: 7.941 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.9020423027686775]