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.0009926/0.0009926, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001927/0.00292, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001083/0.001083, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004742/0.005824, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.04/1.04, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1093/1.149, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.02911/0.02911, allocations: 7.103 MB / 251.3 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01889/0.048, allocations: 2.849 MB / 254.1 MB, free: 4.914 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.513e-06/1.513e-06, allocations: 0 / 255.4 MB, free: 3.625 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.732e-05, allocations: 2.312 kB / 255.4 MB, free: 3.621 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.PhysicalModel): time 0.008936/0.008963, allocations: 3.235 MB / 258.6 MB, free: 376 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006221/0.01518, allocations: 0.9731 MB / 259.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003469/0.01553, allocations: 11.94 kB / 259.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004972/0.01603, allocations: 142.9 kB / 259.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.0164, allocations: 154.7 kB / 259.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.01659, allocations: 79.88 kB / 260 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005679/0.01716, allocations: 0.4903 MB / 260.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.0174, allocations: 113.8 kB / 260.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005818/0.01798, allocations: 328.4 kB / 260.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.01821, allocations: 155.5 kB / 261.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.01826, allocations: 40 kB / 261.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.762e-05/0.01832, allocations: 40 kB / 261.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.01837, allocations: 67.75 kB / 261.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.01849, allocations: 127.8 kB / 261.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.01883, allocations: 274.9 kB / 261.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.306e-05/0.01885, allocations: 0 / 261.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01885, allocations: 0 / 261.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.01886, allocations: 0 / 261.6 MB, free: 13.39 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.0008685/0.01973, allocations: 0.6946 MB / 262.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.01976, allocations: 8.031 kB / 262.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.186e-05/0.01985, allocations: 64.89 kB / 262.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.02014, allocations: 197.1 kB / 262.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.02016, allocations: 29.38 kB / 262.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/0.02022, allocations: 52.31 kB / 262.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.02052, allocations: 278 kB / 262.9 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.02053, allocations: 7.984 kB / 262.9 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.02056, allocations: 12 kB / 262.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.02057, allocations: 12 kB / 262.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.02071, allocations: 90.95 kB / 263 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.02213, allocations: 0.8643 MB / 263.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.02233, allocations: 125.3 kB / 264 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.02239, allocations: 36.84 kB / 264 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.0224, allocations: 11.98 kB / 264.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.02244, allocations: 42.5 kB / 264.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.02244, allocations: 0 / 264.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002642/0.0227, allocations: 124.6 kB / 264.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.02273, allocations: 55.34 kB / 264.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.02294, allocations: 233 kB / 264.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.02296, allocations: 25.7 kB / 264.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.02308, allocations: 220 kB / 264.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.02315, allocations: 87.2 kB / 264.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.837e-05/0.02323, allocations: 53.69 kB / 264.9 MB, free: 9.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.02335, allocations: 342.8 kB / 265.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/0.0234, allocations: 27.84 kB / 265.2 MB, free: 9.539 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.66e-05/0.02349, allocations: 96.66 kB / 265.3 MB, free: 9.414 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.02367, allocations: 148.9 kB / 265.5 MB, free: 9.242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.02368, allocations: 4 kB / 265.5 MB, free: 9.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002551/0.02393, allocations: 163.7 kB / 265.6 MB, free: 9.074 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.02395, allocations: 8 kB / 265.7 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.02396, allocations: 0 / 265.7 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.02398, allocations: 7.938 kB / 265.7 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/0.02448, allocations: 136.7 kB / 265.8 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.02449, allocations: 11.92 kB / 265.8 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.02463, allocations: 19.84 kB / 265.8 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.02464, allocations: 16 kB / 265.8 MB, free: 8.879 MB / 266.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.000102/0.02475, allocations: 125.7 kB / 266 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.0248, allocations: 23.92 kB / 266 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.762e-05/0.02486, allocations: 30.27 kB / 266 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.02486, allocations: 0 / 266 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.02486, allocations: 0 / 266 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.02487, allocations: 4 kB / 266 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005341/0.0254, allocations: 363.3 kB / 266.4 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.0254, allocations: 4 kB / 266.4 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.02567, allocations: 83.05 kB / 266.5 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.02571, allocations: 23.8 kB / 266.5 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.02571, allocations: 0 / 266.5 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.02573, allocations: 4 kB / 266.5 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.02573, allocations: 0 / 266.5 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.02573, allocations: 0 / 266.5 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.02602, allocations: 264.1 kB / 266.7 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.02605, allocations: 7.938 kB / 266.8 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.0262, allocations: 12 kB / 266.8 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.02623, allocations: 19.97 kB / 266.8 MB, free: 7.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.02623, allocations: 0 / 266.8 MB, free: 7.887 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.02634, allocations: 86.72 kB / 266.9 MB, free: 7.801 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02634, allocations: 0 / 266.9 MB, free: 7.801 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000365/0.0267, allocations: 95.73 kB / 267 MB, free: 7.707 MB / 266.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.0001213/0.02682, allocations: 80.41 kB / 267 MB, free: 7.617 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.02702, allocations: 113.1 kB / 267.2 MB, free: 7.504 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/0.02703, allocations: 7.984 kB / 267.2 MB, free: 7.496 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.636e-05/0.02712, allocations: 67.91 kB / 267.2 MB, free: 7.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.02763, allocations: 489 kB / 267.7 MB, free: 6.863 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005456/0.03309, allocations: 0.7719 MB / 268.5 MB, free: 6.059 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.02e-05/0.03318, allocations: 104.3 kB / 268.6 MB, free: 5.938 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.0333, allocations: 26.97 kB / 268.6 MB, free: 5.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.03347, allocations: 95.36 kB / 268.7 MB, free: 5.816 MB / 266.7 MB Notification: Performance of SimCode: time 1.443e-06/0.03347, allocations: 0 / 268.7 MB, free: 5.816 MB / 266.7 MB Notification: Performance of Templates: time 0.007335/0.04081, allocations: 2.922 MB / 271.6 MB, free: 2.938 MB / 266.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.696759033948183]