Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.RLD_Circuit.AnalyticEquations.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.0009214/0.0009214, allocations: 100.4 kB / 19.7 MB, free: 440 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.001027/0.001027, allocations: 219.6 kB / 23 MB, free: 2.973 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 0.9511/0.9511, 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.05927/0.05927, allocations: 9.548 MB / 322.7 MB, free: 8.559 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.AnalyticEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RLD_Circuit.AnalyticEquations") translateModel(ChaoticCircuits.RLD_Circuit.AnalyticEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RLD_Circuit.AnalyticEquations") [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.001698/0.001698, allocations: 75.89 kB / 449.1 MB, free: 38 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1125, allocations: 55.79 MB / 0.493 GB, free: 14.11 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RLD_Circuit.AnalyticEquations): time 0.001908/0.1144, allocations: 1.426 MB / 0.4944 GB, free: 12.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006659/0.1151, allocations: 0.5338 MB / 0.495 GB, free: 12.14 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.1152, allocations: 4 kB / 0.495 GB, free: 12.14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.1153, allocations: 23.84 kB / 0.495 GB, free: 12.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.1154, allocations: 31.72 kB / 0.495 GB, free: 12.08 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.066e-05/0.1155, allocations: 23.95 kB / 0.495 GB, free: 12.06 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.935e-05/0.1156, allocations: 103.5 kB / 0.4951 GB, free: 11.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.1156, allocations: 0 / 0.4951 GB, free: 11.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.1158, allocations: 43.89 kB / 0.4952 GB, free: 11.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.61e-05/0.1159, allocations: 47.77 kB / 0.4952 GB, free: 11.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1159, allocations: 4 kB / 0.4952 GB, free: 11.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.541e-05/0.1159, allocations: 8 kB / 0.4952 GB, free: 11.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.1159, allocations: 15.91 kB / 0.4952 GB, free: 11.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.116, allocations: 35.8 kB / 0.4953 GB, free: 11.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.1161, allocations: 67.66 kB / 0.4953 GB, free: 11.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.1161, allocations: 0 / 0.4953 GB, free: 11.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1161, allocations: 4 kB / 0.4953 GB, free: 11.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1161, allocations: 3.938 kB / 0.4953 GB, free: 11.73 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004827/0.1166, allocations: 318 kB / 0.4957 GB, free: 11.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1166, allocations: 8.031 kB / 0.4957 GB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.1167, allocations: 12.84 kB / 0.4957 GB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.1168, allocations: 134.4 kB / 0.4958 GB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1168, allocations: 384 / 0.4958 GB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.1168, allocations: 4.375 kB / 0.4958 GB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.117, allocations: 85.89 kB / 0.4959 GB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.117, allocations: 0 / 0.4959 GB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.117, allocations: 0 / 0.4959 GB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.117, allocations: 0 / 0.4959 GB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.1171, allocations: 59.95 kB / 0.4959 GB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.1172, allocations: 137.2 kB / 0.4961 GB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1174, allocations: 78.55 kB / 0.4962 GB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.797e-05/0.1174, allocations: 44.83 kB / 0.4962 GB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.1174, allocations: 0 / 0.4962 GB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.1175, allocations: 38.5 kB / 0.4962 GB, free: 10.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 7.32e-07/0.1175, allocations: 0 / 0.4962 GB, free: 10.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001989/0.1195, allocations: 0.7671 MB / 0.497 GB, free: 9.914 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.1195, allocations: 55.41 kB / 0.497 GB, free: 9.848 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.1196, allocations: 143.1 kB / 0.4972 GB, free: 9.699 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.1196, allocations: 29.7 kB / 0.4972 GB, free: 9.664 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.1196, allocations: 96.08 kB / 0.4973 GB, free: 9.566 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.1197, allocations: 39.62 kB / 0.4973 GB, free: 9.527 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.1197, allocations: 29.7 kB / 0.4974 GB, free: 9.492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.681e-05/0.1198, allocations: 326.8 kB / 0.4977 GB, free: 9.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.954e-05/0.1199, allocations: 47.97 kB / 0.4977 GB, free: 9.117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.652e-05/0.12, allocations: 55.97 kB / 0.4978 GB, free: 9.062 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.1202, allocations: 120.8 kB / 0.4979 GB, free: 8.941 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1202, allocations: 4 kB / 0.4979 GB, free: 8.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007554/0.1209, allocations: 328.8 kB / 0.4982 GB, free: 8.609 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1209, allocations: 4 kB / 0.4982 GB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1209, allocations: 0 / 0.4982 GB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006775/0.1216, allocations: 184.6 kB / 0.4984 GB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-05/0.1217, allocations: 23.98 kB / 0.4984 GB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.1235, allocations: 1.727 MB / 0.5001 GB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.403e-05/0.1235, allocations: 16.02 kB / 0.5001 GB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1235, allocations: 8.484 kB / 0.5001 GB, free: 6.535 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 9 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.123e-05/0.1236, allocations: 113.8 kB / 0.5002 GB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.1236, allocations: 15.97 kB / 0.5002 GB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007431/0.1244, allocations: 338.8 kB / 0.5006 GB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1244, allocations: 4 kB / 0.5006 GB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.1244, allocations: 3.938 kB / 0.5006 GB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1244, allocations: 0 / 0.5006 GB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009211/0.1253, allocations: 0.5222 MB / 0.5011 GB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1253, allocations: 4 kB / 0.5011 GB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.867e-05/0.1254, allocations: 23.98 kB / 0.5011 GB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005738/0.126, allocations: 172.6 kB / 0.5013 GB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.126, allocations: 3.984 kB / 0.5013 GB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.1274, allocations: 1.624 MB / 0.5029 GB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.1274, allocations: 3.938 kB / 0.5029 GB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008488/0.1283, allocations: 479.1 kB / 0.5033 GB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.1283, allocations: 11.92 kB / 0.5033 GB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.1283, allocations: 3.938 kB / 0.5033 GB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/0.1284, allocations: 15.98 kB / 0.5033 GB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.1284, allocations: 11.97 kB / 0.5034 GB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-06/0.1284, allocations: 7.938 kB / 0.5034 GB, free: 3.016 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.319e-05/0.1285, allocations: 118.2 kB / 0.5035 GB, free: 2.902 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1285, allocations: 0 / 0.5035 GB, free: 2.902 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001859/0.1287, allocations: 40.06 kB / 0.5035 GB, free: 2.863 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vc,iL) * 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 (10): * Single equations (assignments): 9 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.793e-05/0.1288, allocations: 95.25 kB / 0.5036 GB, free: 2.762 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003962/0.1292, allocations: 262.5 kB / 0.5039 GB, free: 2.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1292, allocations: 4 kB / 0.5039 GB, free: 2.488 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.1293, allocations: 194.6 kB / 0.504 GB, free: 2.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.1296, allocations: 23.97 kB / 0.5041 GB, free: 2.262 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.1302, allocations: 434.5 kB / 0.5045 GB, free: 1.805 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.504e-05/0.1302, allocations: 85.77 kB / 0.5046 GB, free: 1.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.1303, allocations: 19.42 kB / 0.5046 GB, free: 1.676 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1303, allocations: 3.938 kB / 0.5046 GB, free: 1.672 MB / 362.7 MB Notification: Performance of Templates: time 0.002947/0.1332, allocations: 2.255 MB / 0.5068 GB, free: 15.42 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.RLD_Circuit.AnalyticEquations.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.RLD_Circuit.AnalyticEquations.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RLD_Circuit.AnalyticEquations.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RLD_Circuit.AnalyticEquations.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.RLD_Circuit.AnalyticEquations.sim & ./ChaoticCircuits_ChaoticCircuits.RLD_Circuit.AnalyticEquations > ChaoticCircuits_ChaoticCircuits.RLD_Circuit.AnalyticEquations.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.082841577008367]