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.0009703/0.0009703, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.0009503/0.0009503, allocations: 169.7 kB / 23.27 MB, free: 1.227 MB / 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 0.9898/0.9898, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.02646/0.02646, allocations: 7.116 MB / 267.4 MB, free: 5.891 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.453e-06/1.453e-06, allocations: 0 / 339.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.773e-05, allocations: 2.312 kB / 339.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.PhysicalModel): time 0.003127/0.003145, allocations: 3.159 MB / 342.7 MB, free: 7.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.00415, allocations: 0.9693 MB / 343.6 MB, free: 6.527 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.004336, allocations: 8 kB / 343.6 MB, free: 6.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.004665, allocations: 131 kB / 343.8 MB, free: 6.391 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.004824, allocations: 158.8 kB / 343.9 MB, free: 6.234 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.515e-05/0.004919, allocations: 75.89 kB / 344 MB, free: 6.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.005263, allocations: 498 kB / 344.5 MB, free: 5.672 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.005421, allocations: 117.1 kB / 344.6 MB, free: 5.559 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.00569, allocations: 283.3 kB / 344.9 MB, free: 5.281 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.005839, allocations: 155.5 kB / 345 MB, free: 5.129 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.005875, allocations: 40 kB / 345.1 MB, free: 5.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.846e-05/0.005914, allocations: 40 kB / 345.1 MB, free: 5.051 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.798e-05/0.005962, allocations: 99.59 kB / 345.2 MB, free: 4.953 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.57e-05/0.006057, allocations: 155.6 kB / 345.4 MB, free: 4.801 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.006321, allocations: 294.8 kB / 345.6 MB, free: 4.512 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.006323, allocations: 0 / 345.6 MB, free: 4.512 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006324, allocations: 0 / 345.6 MB, free: 4.512 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.006328, allocations: 0 / 345.6 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.0006708/0.006999, allocations: 0.7337 MB / 346.4 MB, free: 3.742 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.00704, allocations: 12.03 kB / 346.4 MB, free: 3.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.469e-05/0.007114, allocations: 76.66 kB / 346.5 MB, free: 3.656 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.007343, allocations: 239.9 kB / 346.7 MB, free: 3.395 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.007365, allocations: 29.38 kB / 346.7 MB, free: 3.367 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.007413, allocations: 48.31 kB / 346.8 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.007671, allocations: 270 kB / 347 MB, free: 3.035 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.007687, allocations: 4 kB / 347 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.007709, allocations: 20 kB / 347.1 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.007718, allocations: 8 kB / 347.1 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.007847, allocations: 110.9 kB / 347.2 MB, free: 2.895 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.008861, allocations: 1.03 MB / 348.2 MB, free: 1.793 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.009, allocations: 135.2 kB / 348.3 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.00904, allocations: 43.66 kB / 348.4 MB, free: 1.602 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.009051, allocations: 4 kB / 348.4 MB, free: 1.598 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.009073, allocations: 49.27 kB / 348.4 MB, free: 1.539 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.009075, allocations: 4 kB / 348.4 MB, free: 1.535 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.000204/0.009279, allocations: 157.4 kB / 348.6 MB, free: 1.375 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.009302, allocations: 59.34 kB / 348.7 MB, free: 1.305 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.00945, allocations: 296.2 kB / 348.9 MB, free: 1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.009466, allocations: 33.7 kB / 349 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/0.009565, allocations: 270.8 kB / 349.2 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.009606, allocations: 91.2 kB / 349.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.009661, allocations: 63.92 kB / 349.4 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003606/0.01002, allocations: 0.5079 MB / 349.9 MB, free: 12 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.337e-05/0.01006, allocations: 27.83 kB / 349.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.01014, allocations: 122.8 kB / 350 MB, free: 15.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.01026, allocations: 174.3 kB / 350.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01027, allocations: 4 kB / 350.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001773/0.01044, allocations: 211.6 kB / 350.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.01046, allocations: 6.031 kB / 350.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.01046, allocations: 4 kB / 350.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.01047, allocations: 4 kB / 350.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.01064, allocations: 79.84 kB / 350.5 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01065, allocations: 7.984 kB / 350.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.586e-05/0.01072, allocations: 23.84 kB / 350.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.01073, allocations: 8.25 kB / 350.6 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 8.297e-05/0.01082, allocations: 184.4 kB / 350.7 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.01085, allocations: 31.86 kB / 350.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.01088, allocations: 34.27 kB / 350.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01088, allocations: 0 / 350.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01088, allocations: 0 / 350.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01089, allocations: 0 / 350.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.01127, allocations: 496.3 kB / 351.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01127, allocations: 0 / 351.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.0114, allocations: 55.91 kB / 351.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.01141, allocations: 8.031 kB / 351.4 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.01141, allocations: 4 kB / 351.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01142, allocations: 4 kB / 351.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01142, allocations: 0 / 351.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.01163, allocations: 343.2 kB / 351.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.01165, allocations: 31.78 kB / 351.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.01167, allocations: 4 kB / 351.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.01175, allocations: 11.98 kB / 351.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.01177, allocations: 15.92 kB / 351.8 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.01178, allocations: 11.94 kB / 351.8 MB, free: 14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.79e-05/0.01187, allocations: 205.1 kB / 352 MB, free: 13.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01187, allocations: 0 / 352 MB, free: 13.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002109/0.01208, allocations: 95.73 kB / 352.1 MB, free: 13.7 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 6.855e-05/0.01215, allocations: 103.2 kB / 352.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.01228, allocations: 120 kB / 352.3 MB, free: 13.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01228, allocations: 0.5 kB / 352.3 MB, free: 13.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.584e-05/0.01233, allocations: 66.77 kB / 352.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.01256, allocations: 44.39 kB / 352.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.01357, allocations: 0.7983 MB / 353.2 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.197e-05/0.01362, allocations: 96.17 kB / 353.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.844e-05/0.01368, allocations: 22.28 kB / 353.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.01379, allocations: 118.2 kB / 353.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01379, allocations: 0 / 353.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of Templates: time 0.004325/0.01811, allocations: 2.496 MB / 355.9 MB, free: 9.82 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.7671511890366673]