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.001387/0.001387, allocations: 73.88 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.001116/0.001116, 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.007/1.007, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.02719/0.02719, allocations: 7.113 MB / 268.2 MB, free: 5.902 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: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 340.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.488e-05, allocations: 6.25 kB / 340.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.PhysicalModel): time 0.007311/0.007336, allocations: 3.175 MB / 343.5 MB, free: 7.484 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.008993, allocations: 0.9499 MB / 344.4 MB, free: 6.531 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.009197, allocations: 8 kB / 344.4 MB, free: 6.523 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003911/0.009588, allocations: 143 kB / 344.6 MB, free: 6.383 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.009886, allocations: 146.8 kB / 344.7 MB, free: 6.238 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.01005, allocations: 83.86 kB / 344.8 MB, free: 6.156 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004984/0.01055, allocations: 494 kB / 345.3 MB, free: 5.672 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.01075, allocations: 117.1 kB / 345.4 MB, free: 5.559 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004376/0.01119, allocations: 279.3 kB / 345.7 MB, free: 5.285 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.01141, allocations: 155.5 kB / 345.8 MB, free: 5.133 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.279e-05/0.01146, allocations: 44 kB / 345.9 MB, free: 5.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.738e-05/0.01152, allocations: 40 kB / 345.9 MB, free: 5.051 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.01162, allocations: 99.58 kB / 346 MB, free: 4.953 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.01177, allocations: 151.6 kB / 346.1 MB, free: 4.805 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.01215, allocations: 294.8 kB / 346.4 MB, free: 4.516 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.01215, allocations: 3.984 kB / 346.4 MB, free: 4.512 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01215, allocations: 0 / 346.4 MB, free: 4.512 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.01216, allocations: 0 / 346.4 MB, free: 4.512 MB / 314.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.0009684/0.01313, allocations: 0.7298 MB / 347.2 MB, free: 3.746 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.01315, allocations: 8.031 kB / 347.2 MB, free: 3.738 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.01327, allocations: 80.66 kB / 347.2 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.01357, allocations: 243.9 kB / 347.5 MB, free: 3.395 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.01359, allocations: 29.38 kB / 347.5 MB, free: 3.367 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.01365, allocations: 44.33 kB / 347.6 MB, free: 3.324 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.01399, allocations: 278 kB / 347.8 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.01401, allocations: 4 kB / 347.8 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.01404, allocations: 15.94 kB / 347.8 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.01405, allocations: 12 kB / 347.9 MB, free: 3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.01425, allocations: 106.9 kB / 348 MB, free: 2.895 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.01589, allocations: 1.038 MB / 349 MB, free: 1.785 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.0161, allocations: 134.2 kB / 349.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.731e-05/0.01617, allocations: 47.64 kB / 349.2 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.01618, allocations: 8 kB / 349.2 MB, free: 1.586 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.01621, allocations: 45.33 kB / 349.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.01621, allocations: 0 / 349.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002951/0.01651, allocations: 153.5 kB / 349.4 MB, free: 1.375 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.01654, allocations: 59.34 kB / 349.4 MB, free: 1.305 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.01677, allocations: 292.2 kB / 349.7 MB, free: 1.004 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.01679, allocations: 29.7 kB / 349.8 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.01694, allocations: 278.8 kB / 350 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.05e-05/0.017, allocations: 91.2 kB / 350.1 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-05/0.01708, allocations: 63.92 kB / 350.2 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.01723, allocations: 0.5079 MB / 350.7 MB, free: 12 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.55e-05/0.0173, allocations: 31.83 kB / 350.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.01742, allocations: 122.8 kB / 350.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.01761, allocations: 174.3 kB / 351 MB, free: 15.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01761, allocations: 4 kB / 351 MB, free: 15.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002951/0.01791, allocations: 207.6 kB / 351.2 MB, free: 15.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.01792, allocations: 8 kB / 351.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.01793, allocations: 4 kB / 351.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.01794, allocations: 0 / 351.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.01822, allocations: 87.83 kB / 351.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.01822, allocations: 4.25 kB / 351.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.01836, allocations: 27.84 kB / 351.3 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.01838, allocations: 8 kB / 351.3 MB, free: 15.27 MB / 330.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.0002146/0.01859, allocations: 176.4 kB / 351.5 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.01865, allocations: 31.86 kB / 351.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.01871, allocations: 30.27 kB / 351.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01871, allocations: 7.938 kB / 351.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.01871, allocations: 0 / 351.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01872, allocations: 0 / 351.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008688/0.01959, allocations: 492.5 kB / 352.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.01959, allocations: 12.02 kB / 352.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.01982, allocations: 51.92 kB / 352.1 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.01983, allocations: 4 kB / 352.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.01984, allocations: 0 / 352.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01984, allocations: 0 / 352.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.01984, allocations: 7.984 kB / 352.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.02018, allocations: 339.2 kB / 352.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.02022, allocations: 23.8 kB / 352.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.02025, allocations: 8 kB / 352.5 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.02041, allocations: 19.98 kB / 352.5 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.02044, allocations: 15.91 kB / 352.5 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.02045, allocations: 7.938 kB / 352.5 MB, free: 14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001411/0.0206, allocations: 197.1 kB / 352.7 MB, free: 13.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0206, allocations: 0 / 352.7 MB, free: 13.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004048/0.021, allocations: 99.73 kB / 352.8 MB, free: 13.71 MB / 330.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.0001082/0.02111, allocations: 95.25 kB / 352.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.02132, allocations: 128.3 kB / 353.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02132, allocations: 0 / 353.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.782e-05/0.0214, allocations: 59.59 kB / 353.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.0218, allocations: 48.45 kB / 353.2 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.02342, allocations: 0.7977 MB / 354 MB, free: 12.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.62e-05/0.0235, allocations: 96.16 kB / 354.1 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.02361, allocations: 30.28 kB / 354.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.02377, allocations: 110.2 kB / 354.2 MB, free: 12.28 MB / 330.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02377, allocations: 0 / 354.2 MB, free: 12.28 MB / 330.7 MB Notification: Performance of Templates: time 0.007292/0.03106, allocations: 2.567 MB / 356.8 MB, free: 9.754 MB / 330.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: 2.9736959589645267]