Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.RikitakeSystem.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.002486/0.002486, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 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.003162/0.003162, allocations: 207.2 kB / 22.25 MB, free: 3.57 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.79/1.79, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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.0511/0.0511, allocations: 9.551 MB / 322 MB, free: 8.473 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.PhysicalModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel") translateModel(ChaoticCircuits.RikitakeSystem.PhysicalModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel") [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.003935/0.003935, allocations: 71.89 kB / 449.1 MB, free: 37.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1088, allocations: 55.79 MB / 0.4931 GB, free: 13.32 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.PhysicalModel): time 0.005083/0.1139, allocations: 2.946 MB / 0.4959 GB, free: 10.37 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.1156, allocations: 0.9151 MB / 0.4968 GB, free: 9.449 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.1158, allocations: 7.938 kB / 0.4968 GB, free: 9.441 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004749/0.1163, allocations: 139 kB / 0.497 GB, free: 9.305 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.1166, allocations: 150.8 kB / 0.4971 GB, free: 9.156 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.1167, allocations: 79.89 kB / 0.4972 GB, free: 9.078 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000565/0.1173, allocations: 474.3 kB / 0.4976 GB, free: 8.609 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.1175, allocations: 117.2 kB / 0.4978 GB, free: 8.492 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003324/0.1179, allocations: 191.2 kB / 0.4979 GB, free: 8.305 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.1182, allocations: 179.1 kB / 0.4981 GB, free: 8.129 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.664e-05/0.1182, allocations: 40 kB / 0.4982 GB, free: 8.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.437e-05/0.1183, allocations: 40 kB / 0.4982 GB, free: 8.051 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.806e-05/0.1184, allocations: 95.62 kB / 0.4983 GB, free: 7.957 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.1186, allocations: 183.2 kB / 0.4985 GB, free: 7.777 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005866/0.1192, allocations: 458 kB / 0.4989 GB, free: 7.328 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1192, allocations: 3.938 kB / 0.4989 GB, free: 7.324 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1192, allocations: 0 / 0.4989 GB, free: 7.324 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.1192, allocations: 0 / 0.4989 GB, free: 7.324 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.001189/0.1204, allocations: 0.6261 MB / 0.4995 GB, free: 6.664 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1205, allocations: 8.031 kB / 0.4995 GB, free: 6.656 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.1206, allocations: 52.64 kB / 0.4996 GB, free: 6.605 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/0.121, allocations: 253.8 kB / 0.4998 GB, free: 6.332 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.121, allocations: 33.12 kB / 0.4998 GB, free: 6.301 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.587e-05/0.1211, allocations: 43.95 kB / 0.4999 GB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006291/0.1217, allocations: 365.9 kB / 0.5002 GB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.1218, allocations: 0 / 0.5002 GB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.1218, allocations: 16 kB / 0.5002 GB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.1218, allocations: 12 kB / 0.5003 GB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.1222, allocations: 219.9 kB / 0.5005 GB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.1242, allocations: 1.026 MB / 0.5015 GB, free: 4.547 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.1246, allocations: 177 kB / 0.5016 GB, free: 4.367 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.1247, allocations: 72.77 kB / 0.5017 GB, free: 4.293 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.1247, allocations: 4 kB / 0.5017 GB, free: 4.289 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.1248, allocations: 30.56 kB / 0.5017 GB, free: 4.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.637e-06/0.1248, allocations: 3.984 kB / 0.5017 GB, free: 4.246 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004345/0.1252, allocations: 216.3 kB / 0.502 GB, free: 4.031 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.1252, allocations: 55.34 kB / 0.502 GB, free: 3.965 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.1256, allocations: 268.8 kB / 0.5023 GB, free: 3.691 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.1256, allocations: 33.7 kB / 0.5023 GB, free: 3.652 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.1258, allocations: 228.1 kB / 0.5025 GB, free: 3.426 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.1259, allocations: 87.27 kB / 0.5026 GB, free: 3.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.732e-05/0.126, allocations: 53.7 kB / 0.5026 GB, free: 3.281 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.1262, allocations: 338.8 kB / 0.503 GB, free: 2.941 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.1263, allocations: 59.97 kB / 0.503 GB, free: 2.883 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.1265, allocations: 131.9 kB / 0.5031 GB, free: 2.723 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.1268, allocations: 203.8 kB / 0.5033 GB, free: 2.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1268, allocations: 0 / 0.5033 GB, free: 2.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004217/0.1272, allocations: 251.7 kB / 0.5036 GB, free: 2.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1272, allocations: 4 kB / 0.5036 GB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.1272, allocations: 4 kB / 0.5036 GB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.1273, allocations: 4.25 kB / 0.5036 GB, free: 2.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.1276, allocations: 83.89 kB / 0.5037 GB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.1276, allocations: 7.938 kB / 0.5037 GB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.1278, allocations: 31.72 kB / 0.5037 GB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.1278, allocations: 12 kB / 0.5037 GB, free: 2.105 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.128, allocations: 145.8 kB / 0.5039 GB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.128, allocations: 27.8 kB / 0.5039 GB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.459e-05/0.1281, allocations: 30.28 kB / 0.5039 GB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1281, allocations: 0 / 0.5039 GB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.1281, allocations: 4 kB / 0.5039 GB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.1281, allocations: 11.92 kB / 0.5039 GB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007925/0.1289, allocations: 0.5182 MB / 0.5044 GB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1289, allocations: 0 / 0.5044 GB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.1292, allocations: 47.97 kB / 0.5045 GB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.1292, allocations: 4 kB / 0.5045 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.1292, allocations: 4 kB / 0.5045 GB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.1292, allocations: 7.938 kB / 0.5045 GB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.1292, allocations: 3.938 kB / 0.5045 GB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.1297, allocations: 339.4 kB / 0.5048 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.1297, allocations: 35.88 kB / 0.5049 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.1298, allocations: 7.938 kB / 0.5049 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.13, allocations: 8 kB / 0.5049 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.13, allocations: 19.91 kB / 0.5049 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.13, allocations: 4 kB / 0.5049 GB, free: 0.832 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002229/0.1302, allocations: 188.5 kB / 0.5051 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1302, allocations: 0 / 0.5051 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003588/0.1306, allocations: 99.67 kB / 0.5052 GB, free: 0.5508 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inductor1.i,inductor2.i,inertia1.w,inertia2.w,torque1.phi,torque2.phi) * 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001296/0.1307, allocations: 107.2 kB / 0.5053 GB, free: 448 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000308/0.131, allocations: 159.7 kB / 0.5054 GB, free: 288 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.131, allocations: 0 / 0.5054 GB, free: 288 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.1311, allocations: 71.86 kB / 0.5055 GB, free: 216 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.1315, allocations: 40.53 kB / 0.5055 GB, free: 176 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.1332, allocations: 0.9359 MB / 0.5065 GB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.1334, allocations: 190.1 kB / 0.5066 GB, free: 15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.665e-05/0.1335, allocations: 22.28 kB / 0.5067 GB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.383e-05/0.1336, allocations: 23.44 kB / 0.5067 GB, free: 14.95 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.1336, allocations: 0 / 0.5067 GB, free: 14.95 MB / 378.7 MB Notification: Performance of Templates: time 0.007134/0.1407, allocations: 2.766 MB / 0.5094 GB, free: 12.21 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.sim & ./ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.5840975176543]