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.0009142/0.0009142, allocations: 92.22 kB / 19.65 MB, free: 276 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.000903/0.000903, allocations: 173 kB / 23.03 MB, free: 1.543 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 1.021/1.021, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.02906/0.02906, allocations: 7.115 MB / 267.1 MB, free: 6.039 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 2.314e-06/2.314e-06, allocations: 3.938 kB / 339.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.187e-05, allocations: 2.312 kB / 339.1 MB, free: 9.867 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.PhysicalModel): time 0.004423/0.004455, allocations: 3.19 MB / 342.3 MB, free: 6.656 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.006062, allocations: 0.9577 MB / 343.2 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002346/0.006296, allocations: 8 kB / 343.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004809/0.006777, allocations: 135 kB / 343.4 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.007071, allocations: 150.7 kB / 343.5 MB, free: 5.406 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.007247, allocations: 79.88 kB / 343.6 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004659/0.007713, allocations: 0.4903 MB / 344.1 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.007919, allocations: 117.1 kB / 344.2 MB, free: 4.723 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004062/0.008325, allocations: 283.3 kB / 344.5 MB, free: 4.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.008558, allocations: 155.5 kB / 344.6 MB, free: 4.293 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.008611, allocations: 40 kB / 344.7 MB, free: 4.254 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.58e-05/0.008667, allocations: 40 kB / 344.7 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.008723, allocations: 99.58 kB / 344.8 MB, free: 4.117 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.008843, allocations: 151.6 kB / 344.9 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.009195, allocations: 294.9 kB / 345.2 MB, free: 3.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.0092, allocations: 4 kB / 345.2 MB, free: 3.676 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.009201, allocations: 4 kB / 345.2 MB, free: 3.672 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.00921, allocations: 0 / 345.2 MB, free: 3.672 MB / 266.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.0009157/0.01013, allocations: 0.7221 MB / 346 MB, free: 2.914 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.01017, allocations: 8.031 kB / 346 MB, free: 2.906 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.01031, allocations: 84.66 kB / 346 MB, free: 2.824 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.01069, allocations: 247.9 kB / 346.3 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.01071, allocations: 29.38 kB / 346.3 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.01078, allocations: 44.33 kB / 346.4 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.01121, allocations: 298 kB / 346.7 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.01123, allocations: 7.938 kB / 346.7 MB, free: 2.164 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.01127, allocations: 12 kB / 346.7 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.01128, allocations: 12 kB / 346.7 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.01155, allocations: 137.9 kB / 346.8 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.01298, allocations: 1.084 MB / 347.9 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.01318, allocations: 145.3 kB / 348 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.01324, allocations: 55.59 kB / 348.1 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.01325, allocations: 11.92 kB / 348.1 MB, free: 0.625 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.01327, allocations: 33.39 kB / 348.1 MB, free: 0.582 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.244e-06/0.01327, allocations: 4 kB / 348.1 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002591/0.01353, allocations: 176.6 kB / 348.3 MB, free: 412 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.01355, allocations: 51.41 kB / 348.4 MB, free: 348 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.0137, allocations: 304.3 kB / 348.7 MB, free: 24 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.01373, allocations: 41.64 kB / 348.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.01384, allocations: 274.8 kB / 349 MB, free: 15.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.01389, allocations: 95.16 kB / 349.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.01395, allocations: 61.73 kB / 349.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.01408, allocations: 0.5079 MB / 349.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.747e-05/0.01414, allocations: 35.98 kB / 349.7 MB, free: 14.99 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.01424, allocations: 126.9 kB / 349.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.01441, allocations: 192.2 kB / 350 MB, free: 14.6 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.01442, allocations: 0 / 350 MB, free: 14.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002314/0.01465, allocations: 223.6 kB / 350.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.01467, allocations: 8.25 kB / 350.2 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01467, allocations: 4 kB / 350.2 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.01469, allocations: 4 kB / 350.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.0149, allocations: 83.89 kB / 350.3 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.0149, allocations: 7.938 kB / 350.3 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.683e-05/0.015, allocations: 23.84 kB / 350.3 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.01501, allocations: 12 kB / 350.3 MB, free: 14.24 MB / 282.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.99e-05/0.0151, allocations: 180.4 kB / 350.5 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.01514, allocations: 27.86 kB / 350.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.01518, allocations: 30.28 kB / 350.6 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01518, allocations: 4 kB / 350.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.01519, allocations: 3.984 kB / 350.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01519, allocations: 0 / 350.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.01567, allocations: 0.5436 MB / 351.1 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01567, allocations: 0 / 351.1 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.01582, allocations: 51.97 kB / 351.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01582, allocations: 0 / 351.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.01583, allocations: 11.94 kB / 351.2 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01583, allocations: 0 / 351.2 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01583, allocations: 0 / 351.2 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.0161, allocations: 362.7 kB / 351.5 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.01613, allocations: 27.78 kB / 351.6 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.01616, allocations: 8 kB / 351.6 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.01625, allocations: 8 kB / 351.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.01628, allocations: 15.91 kB / 351.6 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.01629, allocations: 15.94 kB / 351.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001184/0.01641, allocations: 213.1 kB / 351.8 MB, free: 12.67 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01641, allocations: 3.938 kB / 351.8 MB, free: 12.67 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.01665, allocations: 91.78 kB / 351.9 MB, free: 12.58 MB / 282.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 9.682e-05/0.01674, allocations: 103.2 kB / 352 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.01699, allocations: 124.1 kB / 352.1 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01699, allocations: 4 kB / 352.1 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.03e-05/0.01706, allocations: 71.47 kB / 352.2 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.01735, allocations: 41.06 kB / 352.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.01866, allocations: 0.8058 MB / 353.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.26e-05/0.01872, allocations: 100.3 kB / 353.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.827e-05/0.01879, allocations: 22.28 kB / 353.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.01884, allocations: 24.5 kB / 353.2 MB, free: 11.22 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01884, allocations: 0 / 353.2 MB, free: 11.22 MB / 282.7 MB Notification: Performance of Templates: time 0.004766/0.02361, allocations: 2.438 MB / 355.6 MB, free: 8.828 MB / 282.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.9892681487835944]