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.0007667/0.0007667, 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.0009538/0.0009538, 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.001/1.001, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.02635/0.02635, allocations: 7.111 MB / 267.1 MB, free: 6.055 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.213e-06/1.213e-06, allocations: 3.938 kB / 339.1 MB, free: 9.898 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.459e-05, allocations: 2.312 kB / 339.1 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.PhysicalModel): time 0.002399/0.002414, allocations: 3.191 MB / 342.3 MB, free: 6.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008863/0.0033, allocations: 0.9616 MB / 343.2 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.003436, allocations: 4 kB / 343.2 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.003792, allocations: 135 kB / 343.4 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.00394, allocations: 154.7 kB / 343.5 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.415e-05/0.004034, allocations: 79.88 kB / 343.6 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.004306, allocations: 494 kB / 344.1 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.004457, allocations: 121.1 kB / 344.2 MB, free: 4.746 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.004692, allocations: 283.3 kB / 344.5 MB, free: 4.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.004845, allocations: 155.5 kB / 344.6 MB, free: 4.316 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.004879, allocations: 40 kB / 344.7 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.353e-05/0.004913, allocations: 40 kB / 344.7 MB, free: 4.238 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/0.004949, allocations: 95.59 kB / 344.8 MB, free: 4.145 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.289e-05/0.005032, allocations: 163.6 kB / 344.9 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.005264, allocations: 282.9 kB / 345.2 MB, free: 3.707 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005267, allocations: 4 kB / 345.2 MB, free: 3.703 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005267, allocations: 0 / 345.2 MB, free: 3.703 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.005272, allocations: 0 / 345.2 MB, free: 3.703 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.0006491/0.005921, allocations: 0.7337 MB / 346 MB, free: 2.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.005956, allocations: 8.031 kB / 346 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.926e-05/0.006045, allocations: 76.66 kB / 346 MB, free: 2.852 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.006276, allocations: 251.9 kB / 346.3 MB, free: 2.578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.006295, allocations: 33.38 kB / 346.3 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.059e-05/0.006336, allocations: 44.33 kB / 346.4 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.006601, allocations: 290.1 kB / 346.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.006615, allocations: 0 / 346.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.006638, allocations: 23.94 kB / 346.7 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.00665, allocations: 15.98 kB / 346.7 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.00683, allocations: 138.9 kB / 346.8 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009997/0.007829, allocations: 1.084 MB / 347.9 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.007998, allocations: 139.3 kB / 348 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.325e-05/0.008062, allocations: 60.53 kB / 348.1 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.008072, allocations: 7.938 kB / 348.1 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.008089, allocations: 33.39 kB / 348.1 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.213e-06/0.00809, allocations: 0 / 348.1 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002381/0.008329, allocations: 183.7 kB / 348.3 MB, free: 428 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.975e-05/0.008348, allocations: 55.41 kB / 348.4 MB, free: 360 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.008489, allocations: 300.3 kB / 348.7 MB, free: 40 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.008502, allocations: 33.64 kB / 348.7 MB, free: 0 / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.008636, allocations: 278.9 kB / 349 MB, free: 15.72 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.008686, allocations: 91.22 kB / 349.1 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.008747, allocations: 69.66 kB / 349.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.008883, allocations: 0.5001 MB / 349.6 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.698e-05/0.00894, allocations: 35.98 kB / 349.7 MB, free: 15.01 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.009062, allocations: 130.9 kB / 349.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.009237, allocations: 188.3 kB / 350 MB, free: 14.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.00924, allocations: 0 / 350 MB, free: 14.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000234/0.009474, allocations: 235.6 kB / 350.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.009487, allocations: 5.875 kB / 350.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.009494, allocations: 4 kB / 350.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.00951, allocations: 4 kB / 350.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.009705, allocations: 83.89 kB / 350.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.009714, allocations: 7.938 kB / 350.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.929e-05/0.009793, allocations: 23.84 kB / 350.3 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.009804, allocations: 8 kB / 350.3 MB, free: 14.26 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 9.483e-05/0.009899, allocations: 180.6 kB / 350.5 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.009943, allocations: 31.86 kB / 350.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.009985, allocations: 30.27 kB / 350.6 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.009988, allocations: 4 kB / 350.6 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.009991, allocations: 0 / 350.6 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.009996, allocations: 3.984 kB / 350.6 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.01047, allocations: 0.5397 MB / 351.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01047, allocations: 0 / 351.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.01062, allocations: 47.98 kB / 351.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.01062, allocations: 4 kB / 351.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.01063, allocations: 4.031 kB / 351.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.01064, allocations: 11.92 kB / 351.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01064, allocations: 0 / 351.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.01093, allocations: 358.5 kB / 351.5 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/0.01096, allocations: 27.8 kB / 351.6 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.01098, allocations: 7.984 kB / 351.6 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.01107, allocations: 12 kB / 351.6 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.0111, allocations: 15.91 kB / 351.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.01111, allocations: 7.938 kB / 351.6 MB, free: 12.9 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.01123, allocations: 217.1 kB / 351.8 MB, free: 12.69 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01123, allocations: 4 kB / 351.8 MB, free: 12.69 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.01144, allocations: 91.72 kB / 351.9 MB, free: 12.6 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 7.834e-05/0.01151, allocations: 103.2 kB / 352 MB, free: 12.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.0117, allocations: 128.1 kB / 352.1 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.0117, allocations: 0 / 352.1 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.86e-05/0.01176, allocations: 71.97 kB / 352.2 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.01201, allocations: 51.78 kB / 352.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.01314, allocations: 0.798 MB / 353.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.678e-05/0.0132, allocations: 92.3 kB / 353.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.01326, allocations: 26.28 kB / 353.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.01331, allocations: 24.5 kB / 353.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01331, allocations: 0 / 353.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of Templates: time 0.004542/0.01785, allocations: 2.44 MB / 355.6 MB, free: 8.844 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.80121288029477]