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.0009027/0.0009027, allocations: 88.52 kB / 19.94 MB, free: 4.602 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.0008987/0.0008987, allocations: 177.9 kB / 23.22 MB, free: 1.324 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.92/0.92, allocations: 177.1 MB / 203.5 MB, free: 5.766 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.02627/0.02627, allocations: 7.116 MB / 267.1 MB, free: 6.273 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.222e-06/1.222e-06, allocations: 0 / 393.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.493e-05, allocations: 4.531 kB / 393.5 MB, free: 3.547 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.PhysicalModel): time 0.00267/0.002685, allocations: 2.954 MB / 396.4 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000946/0.003631, allocations: 0.9383 MB / 397.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.003763, allocations: 8 kB / 397.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.004052, allocations: 134.8 kB / 397.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.004207, allocations: 146.8 kB / 397.6 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.87e-05/0.004296, allocations: 83.86 kB / 397.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.004579, allocations: 498 kB / 398.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.004738, allocations: 113.2 kB / 398.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.005006, allocations: 279.3 kB / 398.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.005149, allocations: 155.5 kB / 398.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.005183, allocations: 40 kB / 398.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.029e-05/0.005224, allocations: 40 kB / 398.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.616e-05/0.00527, allocations: 95.59 kB / 398.9 MB, free: 14.06 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.249e-05/0.005362, allocations: 151.6 kB / 399.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005643/0.005927, allocations: 454.5 kB / 399.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.005928, allocations: 0 / 399.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005929, allocations: 0 / 399.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.005933, allocations: 4 kB / 399.5 MB, free: 13.46 MB / 330.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.0006355/0.006569, allocations: 0.6145 MB / 400.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.006598, allocations: 12.03 kB / 400.1 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.00666, allocations: 44.66 kB / 400.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.006913, allocations: 265 kB / 400.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.006932, allocations: 33.36 kB / 400.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.006971, allocations: 44.33 kB / 400.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.007297, allocations: 366.1 kB / 400.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.00731, allocations: 0 / 400.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.007331, allocations: 16 kB / 400.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.007339, allocations: 11.98 kB / 400.9 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.007588, allocations: 227.9 kB / 401.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.008638, allocations: 1.023 MB / 402.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.008835, allocations: 173.4 kB / 402.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.008908, allocations: 72.03 kB / 402.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.008917, allocations: 3.938 kB / 402.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.008936, allocations: 38.56 kB / 402.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.008937, allocations: 3.938 kB / 402.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002635/0.009201, allocations: 221.3 kB / 402.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.009224, allocations: 59.34 kB / 402.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.009392, allocations: 257.7 kB / 403 MB, free: 9.836 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.009406, allocations: 29.7 kB / 403 MB, free: 9.801 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.647e-05/0.009492, allocations: 236.1 kB / 403.2 MB, free: 9.566 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.009531, allocations: 87.23 kB / 403.3 MB, free: 9.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.009581, allocations: 53.7 kB / 403.4 MB, free: 9.422 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.00966, allocations: 334.8 kB / 403.7 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/0.009729, allocations: 63.83 kB / 403.7 MB, free: 9.023 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.712e-05/0.009826, allocations: 125.4 kB / 403.9 MB, free: 8.871 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.01, allocations: 208.9 kB / 404.1 MB, free: 8.641 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01, allocations: 0 / 404.1 MB, free: 8.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002345/0.01024, allocations: 251.7 kB / 404.3 MB, free: 8.391 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.01025, allocations: 8 kB / 404.3 MB, free: 8.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.01025, allocations: 3.938 kB / 404.3 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.01026, allocations: 8.25 kB / 404.3 MB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.01044, allocations: 83.89 kB / 404.4 MB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.01045, allocations: 4 kB / 404.4 MB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.079e-05/0.01053, allocations: 27.78 kB / 404.5 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.01054, allocations: 8 kB / 404.5 MB, free: 8.25 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.925e-05/0.01063, allocations: 153.7 kB / 404.6 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.01066, allocations: 27.86 kB / 404.6 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.01069, allocations: 22.28 kB / 404.7 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01069, allocations: 4 kB / 404.7 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.0107, allocations: 7.984 kB / 404.7 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.0107, allocations: 0 / 404.7 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.01113, allocations: 0.5182 MB / 405.2 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01113, allocations: 0 / 405.2 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.01127, allocations: 59.91 kB / 405.2 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.01127, allocations: 0 / 405.2 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.01128, allocations: 4 kB / 405.2 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01128, allocations: 0 / 405.2 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01129, allocations: 0 / 405.2 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.01155, allocations: 347.1 kB / 405.6 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.01157, allocations: 39.81 kB / 405.6 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.01159, allocations: 4 kB / 405.6 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.792e-05/0.01168, allocations: 15.98 kB / 405.6 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.0117, allocations: 19.84 kB / 405.7 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.01171, allocations: 8 kB / 405.7 MB, free: 6.965 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.01182, allocations: 185.2 kB / 405.9 MB, free: 6.781 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01182, allocations: 0 / 405.9 MB, free: 6.781 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.01202, allocations: 99.73 kB / 406 MB, free: 6.684 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.717e-05/0.01209, allocations: 103.2 kB / 406.1 MB, free: 6.574 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.01227, allocations: 160 kB / 406.2 MB, free: 6.418 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01227, allocations: 0 / 406.2 MB, free: 6.418 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.347e-05/0.01234, allocations: 75.86 kB / 406.3 MB, free: 6.344 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.01257, allocations: 32.47 kB / 406.3 MB, free: 6.312 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.01364, allocations: 0.8106 MB / 407.1 MB, free: 5.465 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.833e-05/0.01374, allocations: 190 kB / 407.3 MB, free: 5.262 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.01379, allocations: 24.5 kB / 407.3 MB, free: 5.238 MB / 330.7 MB Notification: Performance of SimCode: time 5.72e-07/0.01379, allocations: 0 / 407.3 MB, free: 5.238 MB / 330.7 MB Notification: Performance of Templates: time 0.003297/0.01709, allocations: 3.697 MB / 411 MB, free: 1.543 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 > ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.44947468675673]