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.0006852/0.0006852, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008752/0.00156, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007197/0.0007197, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009292/0.001649, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.116/1.116, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09913/1.216, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.04596/0.04596, allocations: 7.102 MB / 251.1 MB, free: 7.867 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00708/0.05305, allocations: 2.841 MB / 253.9 MB, free: 5.023 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.433e-06/1.433e-06, allocations: 0 / 255.2 MB, free: 3.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.101e-05, allocations: 6.25 kB / 255.2 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.PhysicalModel): time 0.004712/0.004733, allocations: 3.216 MB / 258.4 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.006735, allocations: 0.9731 MB / 259.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/0.006969, allocations: 8 kB / 259.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004617/0.007431, allocations: 146.8 kB / 259.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003617/0.007793, allocations: 154.8 kB / 259.7 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.008006, allocations: 79.88 kB / 259.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005539/0.00856, allocations: 498.1 kB / 260.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.00879, allocations: 121.8 kB / 260.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005485/0.009339, allocations: 328.4 kB / 260.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.009601, allocations: 147.6 kB / 260.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.61e-05/0.009667, allocations: 43.94 kB / 260.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.18e-05/0.009729, allocations: 44 kB / 260.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.731e-05/0.009796, allocations: 67.75 kB / 261 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.009948, allocations: 119.8 kB / 261.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004421/0.01039, allocations: 282.9 kB / 261.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-05/0.01041, allocations: 3.938 kB / 261.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.01041, allocations: 0 / 261.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.203e-05/0.01044, allocations: 0 / 261.4 MB, free: 13.52 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.001091/0.01153, allocations: 0.6907 MB / 262.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.01157, allocations: 11.98 kB / 262.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.01168, allocations: 60.89 kB / 262.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.01201, allocations: 201.2 kB / 262.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.01204, allocations: 29.38 kB / 262.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.0121, allocations: 44.33 kB / 262.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.01247, allocations: 289.9 kB / 262.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.01249, allocations: 4 kB / 262.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.01252, allocations: 16 kB / 262.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.01253, allocations: 12 kB / 262.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.01271, allocations: 90.95 kB / 262.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.01424, allocations: 0.8721 MB / 263.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.01446, allocations: 114.3 kB / 263.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.679e-05/0.01452, allocations: 40.83 kB / 263.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.01453, allocations: 4 kB / 263.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.01456, allocations: 42.44 kB / 263.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.365e-06/0.01457, allocations: 0 / 263.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002526/0.01482, allocations: 121.6 kB / 264 MB, free: 10.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.01486, allocations: 59.34 kB / 264.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.01506, allocations: 229 kB / 264.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.01508, allocations: 29.7 kB / 264.3 MB, free: 10.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.01519, allocations: 212 kB / 264.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.534e-05/0.01526, allocations: 91.2 kB / 264.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.01535, allocations: 57.67 kB / 264.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.01546, allocations: 338.8 kB / 265 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.914e-05/0.01551, allocations: 27.84 kB / 265 MB, free: 9.672 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.446e-05/0.0156, allocations: 96.61 kB / 265.1 MB, free: 9.547 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.01577, allocations: 152.9 kB / 265.3 MB, free: 9.371 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.01578, allocations: 0 / 265.3 MB, free: 9.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002448/0.01602, allocations: 167.8 kB / 265.4 MB, free: 9.203 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.01604, allocations: 11.94 kB / 265.4 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01605, allocations: 0 / 265.4 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.01606, allocations: 4 kB / 265.4 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/0.01659, allocations: 139 kB / 265.6 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.0166, allocations: 4 kB / 265.6 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.01672, allocations: 23.84 kB / 265.6 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.01673, allocations: 4 kB / 265.6 MB, free: 9.027 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.0001412/0.01687, allocations: 145.6 kB / 265.8 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.01692, allocations: 19.98 kB / 265.8 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.901e-05/0.01698, allocations: 30.27 kB / 265.8 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.01699, allocations: 7.984 kB / 265.8 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.01699, allocations: 0 / 265.8 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01699, allocations: 0 / 265.8 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/0.0175, allocations: 363.3 kB / 266.2 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.01751, allocations: 4 kB / 266.2 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.0177, allocations: 67.73 kB / 266.2 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.01772, allocations: 23.84 kB / 266.3 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01773, allocations: 4 kB / 266.3 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.01774, allocations: 4 kB / 266.3 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.01774, allocations: 4 kB / 266.3 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.01775, allocations: 4 kB / 266.3 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.01794, allocations: 267.2 kB / 266.5 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.01796, allocations: 4 kB / 266.5 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.605e-05/0.01805, allocations: 15.98 kB / 266.6 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.01807, allocations: 15.97 kB / 266.6 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.01807, allocations: 4 kB / 266.6 MB, free: 8.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.653e-05/0.01814, allocations: 82.72 kB / 266.7 MB, free: 7.934 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01814, allocations: 0 / 266.7 MB, free: 7.934 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002261/0.01837, allocations: 99.73 kB / 266.8 MB, free: 7.836 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.0001013/0.01847, allocations: 80.36 kB / 266.8 MB, free: 7.746 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.01861, allocations: 113 kB / 266.9 MB, free: 7.633 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.01862, allocations: 4 kB / 266.9 MB, free: 7.629 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.01867, allocations: 60.81 kB / 267 MB, free: 7.566 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.01891, allocations: 64.41 kB / 267.1 MB, free: 7.504 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/0.0225, allocations: 0.7679 MB / 267.8 MB, free: 6.703 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.83e-05/0.02257, allocations: 108.1 kB / 267.9 MB, free: 6.578 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.507e-05/0.02267, allocations: 30.27 kB / 268 MB, free: 6.551 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.02279, allocations: 99.3 kB / 268.1 MB, free: 6.453 MB / 266.7 MB Notification: Performance of SimCode: time 1.383e-06/0.02279, allocations: 0 / 268.1 MB, free: 6.453 MB / 266.7 MB Notification: Performance of Templates: time 0.005853/0.02864, allocations: 2.954 MB / 271 MB, free: 3.555 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.7305673426017165]