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.0009079/0.0009079, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009449/0.0009449, allocations: 173 kB / 23.36 MB, free: 1.133 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.965/0.965, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.03423/0.03423, allocations: 7.113 MB / 267.4 MB, free: 5.953 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.303e-06/1.303e-06, allocations: 0 / 286.2 MB, free: 3.066 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.883e-05, allocations: 6.312 kB / 286.2 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.PhysicalModel): time 0.1096/0.1096, allocations: 3.153 MB / 289.4 MB, free: 19.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1112, allocations: 0.9779 MB / 290.4 MB, free: 19.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.1114, allocations: 10.94 kB / 290.4 MB, free: 19.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003607/0.1118, allocations: 140.8 kB / 290.5 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.112, allocations: 148.2 kB / 290.7 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001282/0.1121, allocations: 78.19 kB / 290.7 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003709/0.1125, allocations: 0.4899 MB / 291.2 MB, free: 19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.1127, allocations: 124.4 kB / 291.4 MB, free: 18.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003874/0.1131, allocations: 283.1 kB / 291.6 MB, free: 18.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.1133, allocations: 151.4 kB / 291.8 MB, free: 18.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.81e-05/0.1133, allocations: 39.91 kB / 291.8 MB, free: 18.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.384e-05/0.1134, allocations: 40.94 kB / 291.9 MB, free: 18.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.507e-05/0.1134, allocations: 96.17 kB / 292 MB, free: 18.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.1136, allocations: 158.8 kB / 292.1 MB, free: 18.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.1139, allocations: 298.3 kB / 292.4 MB, free: 18.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1139, allocations: 3.562 kB / 292.4 MB, free: 18.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1139, allocations: 0 / 292.4 MB, free: 18.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1139, allocations: 0 / 292.4 MB, free: 18.78 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.0006487/0.1145, allocations: 0.6 MB / 293 MB, free: 18.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.1146, allocations: 8.438 kB / 293 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.234e-05/0.1147, allocations: 63.58 kB / 293.1 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.1149, allocations: 201.7 kB / 293.3 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1149, allocations: 28.75 kB / 293.3 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.1149, allocations: 51 kB / 293.4 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.1152, allocations: 278.7 kB / 293.6 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1152, allocations: 2.859 kB / 293.6 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.1152, allocations: 19.91 kB / 293.6 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.1152, allocations: 12.69 kB / 293.7 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.1153, allocations: 93.3 kB / 293.8 MB, free: 17.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00096/0.1163, allocations: 0.8593 MB / 294.6 MB, free: 17.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.1164, allocations: 121.1 kB / 294.7 MB, free: 17.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.1165, allocations: 40.05 kB / 294.8 MB, free: 17.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.1165, allocations: 3.438 kB / 294.8 MB, free: 17.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.1165, allocations: 38.3 kB / 294.8 MB, free: 17.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.984e-06/0.1165, allocations: 0.8906 kB / 294.8 MB, free: 17.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0001892/0.1167, allocations: 128.2 kB / 294.9 MB, free: 17.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.1167, allocations: 58.19 kB / 295 MB, free: 17.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.1169, allocations: 225 kB / 295.2 MB, free: 17.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.1169, allocations: 27.36 kB / 295.2 MB, free: 17.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.1169, allocations: 223.3 kB / 295.5 MB, free: 16.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.117, allocations: 91.91 kB / 295.5 MB, free: 16.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.117, allocations: 58.92 kB / 295.6 MB, free: 16.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.025e-05/0.1171, allocations: 337 kB / 295.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.625e-05/0.1171, allocations: 24.09 kB / 296 MB, free: 16.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.616e-05/0.1172, allocations: 94.31 kB / 296 MB, free: 16.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1173, allocations: 152 kB / 296.2 MB, free: 16.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1173, allocations: 0 / 296.2 MB, free: 16.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001709/0.1175, allocations: 165.5 kB / 296.4 MB, free: 16.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1175, allocations: 12.41 kB / 296.4 MB, free: 16.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1175, allocations: 4.234 kB / 296.4 MB, free: 16.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1175, allocations: 5.844 kB / 296.4 MB, free: 16.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.1177, allocations: 84.22 kB / 296.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1177, allocations: 7.312 kB / 296.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.861e-05/0.1178, allocations: 23.19 kB / 296.5 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1178, allocations: 7.438 kB / 296.5 MB, free: 16.3 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 5.798e-05/0.1178, allocations: 126.5 kB / 296.6 MB, free: 16.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.1179, allocations: 25.22 kB / 296.6 MB, free: 16.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.1179, allocations: 33.11 kB / 296.7 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1179, allocations: 7.516 kB / 296.7 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1179, allocations: 1.984 kB / 296.7 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1179, allocations: 1.359 kB / 296.7 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.1183, allocations: 362.6 kB / 297 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1183, allocations: 1.531 kB / 297 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.1184, allocations: 48.58 kB / 297.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1184, allocations: 6.156 kB / 297.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1184, allocations: 5.781 kB / 297.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1184, allocations: 6.094 kB / 297.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1184, allocations: 5.859 kB / 297.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.1186, allocations: 260.2 kB / 297.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.1186, allocations: 20.58 kB / 297.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.1186, allocations: 6.219 kB / 297.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.459e-05/0.1187, allocations: 12.28 kB / 297.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.1188, allocations: 16.14 kB / 297.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.1188, allocations: 3.953 kB / 297.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.148e-05/0.1188, allocations: 89.17 kB / 297.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1188, allocations: 0 / 297.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001996/0.119, allocations: 100.7 kB / 297.6 MB, free: 15.67 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 7.864e-05/0.1191, allocations: 80.81 kB / 297.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.1193, allocations: 106.7 kB / 297.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.1193, allocations: 2.375 kB / 297.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.317e-05/0.1193, allocations: 60.27 kB / 297.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.1195, allocations: 39.52 kB / 297.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1205, allocations: 0.7004 MB / 298.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.698e-05/0.1206, allocations: 95.8 kB / 298.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.326e-05/0.1207, allocations: 31 kB / 298.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.818e-05/0.1208, allocations: 89.92 kB / 298.8 MB, free: 14.99 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1208, allocations: 0 / 298.8 MB, free: 14.99 MB / 266.7 MB Notification: Performance of Templates: time 0.005093/0.1259, allocations: 2.5 MB / 301.3 MB, free: 14.48 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.7564665828831494]