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.001189/0.001189, allocations: 77.09 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.001232/0.001232, 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.055/1.055, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.02637/0.02637, allocations: 7.123 MB / 268.2 MB, free: 5.898 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.262e-06/1.262e-06, allocations: 0 / 339.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.67e-05, allocations: 4.703 kB / 339.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.PhysicalModel): time 0.003075/0.003091, allocations: 3.168 MB / 342.6 MB, free: 8.293 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.004435, allocations: 0.9577 MB / 343.6 MB, free: 7.332 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.004582, allocations: 8 kB / 343.6 MB, free: 7.324 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003621/0.004944, allocations: 142.9 kB / 343.7 MB, free: 7.184 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.005127, allocations: 150.7 kB / 343.9 MB, free: 7.035 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.005238, allocations: 79.88 kB / 344 MB, free: 6.957 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.005552, allocations: 490.1 kB / 344.5 MB, free: 6.477 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.005714, allocations: 117.2 kB / 344.6 MB, free: 6.363 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005304/0.006245, allocations: 283.2 kB / 344.8 MB, free: 6.086 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.00641, allocations: 163.5 kB / 345 MB, free: 5.926 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.006449, allocations: 40 kB / 345 MB, free: 5.887 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.089e-05/0.00649, allocations: 40 kB / 345.1 MB, free: 5.848 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.006539, allocations: 95.59 kB / 345.2 MB, free: 5.754 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.069e-05/0.00663, allocations: 151.6 kB / 345.3 MB, free: 5.605 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.006881, allocations: 294.8 kB / 345.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.006883, allocations: 3.938 kB / 345.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006883, allocations: 0 / 345.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.006887, allocations: 0 / 345.6 MB, free: 5.312 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.0006553/0.007543, allocations: 0.7337 MB / 346.3 MB, free: 4.543 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.007571, allocations: 8.031 kB / 346.4 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.53e-05/0.007646, allocations: 80.66 kB / 346.4 MB, free: 4.457 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.007856, allocations: 236 kB / 346.7 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.007876, allocations: 29.38 kB / 346.7 MB, free: 4.172 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.00792, allocations: 56.3 kB / 346.7 MB, free: 4.117 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.008155, allocations: 270 kB / 347 MB, free: 3.832 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.008169, allocations: 4 kB / 347 MB, free: 3.828 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.008187, allocations: 12 kB / 347 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.008196, allocations: 12 kB / 347 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.008315, allocations: 110.9 kB / 347.1 MB, free: 3.695 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.00932, allocations: 1.034 MB / 348.2 MB, free: 2.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.009474, allocations: 134.4 kB / 348.3 MB, free: 2.449 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.009517, allocations: 47.66 kB / 348.4 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.009527, allocations: 4 kB / 348.4 MB, free: 2.395 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.009558, allocations: 45.33 kB / 348.4 MB, free: 2.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.00956, allocations: 0 / 348.4 MB, free: 2.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002081/0.009768, allocations: 161.4 kB / 348.6 MB, free: 2.176 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.009795, allocations: 63.34 kB / 348.6 MB, free: 2.102 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.009946, allocations: 292.2 kB / 348.9 MB, free: 1.801 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.009961, allocations: 29.7 kB / 348.9 MB, free: 1.766 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.01007, allocations: 278.8 kB / 349.2 MB, free: 1.488 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.01011, allocations: 91.2 kB / 349.3 MB, free: 1.398 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/0.01017, allocations: 67.92 kB / 349.4 MB, free: 1.324 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.01029, allocations: 0.504 MB / 349.9 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-05/0.01032, allocations: 31.83 kB / 349.9 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-05/0.0104, allocations: 122.8 kB / 350 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.01053, allocations: 178.3 kB / 350.2 MB, free: 416 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.01053, allocations: 4 kB / 350.2 MB, free: 412 kB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000189/0.01072, allocations: 211.6 kB / 350.4 MB, free: 196 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.01073, allocations: 4 kB / 350.4 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01074, allocations: 4 kB / 350.4 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.976e-06/0.01074, allocations: 0 / 350.4 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.01092, allocations: 84.09 kB / 350.5 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.01093, allocations: 11.98 kB / 350.5 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.825e-05/0.01101, allocations: 23.84 kB / 350.5 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.01101, allocations: 8 kB / 350.5 MB, free: 60 kB / 314.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.0001037/0.01112, allocations: 172.5 kB / 350.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.01115, allocations: 31.86 kB / 350.7 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.0112, allocations: 30.27 kB / 350.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.0112, allocations: 4 kB / 350.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.0112, allocations: 0 / 350.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01121, allocations: 0 / 350.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.0116, allocations: 493.3 kB / 351.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.0116, allocations: 4 kB / 351.3 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.01175, allocations: 55.91 kB / 351.3 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01175, allocations: 4 kB / 351.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.01176, allocations: 0 / 351.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01176, allocations: 4 kB / 351.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01176, allocations: 0 / 351.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.01199, allocations: 342.6 kB / 351.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.01202, allocations: 31.77 kB / 351.7 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.01204, allocations: 8 kB / 351.7 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.956e-05/0.01213, allocations: 20.02 kB / 351.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.01214, allocations: 11.92 kB / 351.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.01215, allocations: 7.938 kB / 351.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003602/0.01251, allocations: 201.1 kB / 351.9 MB, free: 14.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01251, allocations: 0 / 351.9 MB, free: 14.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.01273, allocations: 103.7 kB / 352 MB, free: 14.5 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 7.363e-05/0.0128, allocations: 95.25 kB / 352.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.01293, allocations: 116.1 kB / 352.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.01293, allocations: 7.875 kB / 352.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.873e-05/0.01298, allocations: 67.56 kB / 352.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.01322, allocations: 48.45 kB / 352.4 MB, free: 14.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.01427, allocations: 0.82 MB / 353.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.99e-05/0.01437, allocations: 182.1 kB / 353.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.01449, allocations: 118.2 kB / 353.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01449, allocations: 4 kB / 353.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of Templates: time 0.003326/0.01781, allocations: 3.695 MB / 357.2 MB, free: 9.281 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: 3.7165584936738014]