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.0009451/0.0009451, allocations: 104.3 kB / 19.71 MB, free: 440 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.0008892/0.0008892, allocations: 217.1 kB / 23 MB, free: 2.961 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.023/1.023, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.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.03937/0.03937, allocations: 9.548 MB / 322.7 MB, free: 8.484 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: ChaoticCircuits requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.91 kB / 449.1 MB, free: 38.01 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08633/0.08777, allocations: 55.78 MB / 0.493 GB, free: 14.13 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.PhysicalModel): time 0.003072/0.09084, allocations: 2.956 MB / 0.4959 GB, free: 11.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.09186, allocations: 0.915 MB / 0.4968 GB, free: 10.24 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.09201, allocations: 12 kB / 0.4968 GB, free: 10.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.09242, allocations: 127 kB / 0.4969 GB, free: 10.1 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.09258, allocations: 142.9 kB / 0.4971 GB, free: 9.961 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001021/0.09268, allocations: 79.89 kB / 0.4972 GB, free: 9.883 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.09301, allocations: 486.2 kB / 0.4976 GB, free: 9.406 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.09319, allocations: 117.2 kB / 0.4977 GB, free: 9.289 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.09342, allocations: 199.2 kB / 0.4979 GB, free: 9.094 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.09374, allocations: 171.1 kB / 0.4981 GB, free: 8.926 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.09377, allocations: 43.94 kB / 0.4981 GB, free: 8.883 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.357e-05/0.09382, allocations: 43.94 kB / 0.4982 GB, free: 8.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.09386, allocations: 87.73 kB / 0.4983 GB, free: 8.754 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.09398, allocations: 183.1 kB / 0.4984 GB, free: 8.574 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.0943, allocations: 462 kB / 0.4989 GB, free: 8.121 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.0943, allocations: 0 / 0.4989 GB, free: 8.121 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.0943, allocations: 0 / 0.4989 GB, free: 8.121 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.09431, allocations: 0 / 0.4989 GB, free: 8.121 MB / 362.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.0007122/0.09502, allocations: 0.6261 MB / 0.4995 GB, free: 7.461 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.09506, allocations: 12.03 kB / 0.4995 GB, free: 7.449 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.09512, allocations: 44.66 kB / 0.4995 GB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.0954, allocations: 261.9 kB / 0.4998 GB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.09542, allocations: 33.12 kB / 0.4998 GB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.09547, allocations: 39.95 kB / 0.4999 GB, free: 7.055 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.09582, allocations: 365.8 kB / 0.5002 GB, free: 6.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.09583, allocations: 7.984 kB / 0.5002 GB, free: 6.672 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.09586, allocations: 19.98 kB / 0.5002 GB, free: 6.652 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.09586, allocations: 8 kB / 0.5002 GB, free: 6.645 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.09612, allocations: 223.9 kB / 0.5004 GB, free: 6.426 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.09727, allocations: 1.026 MB / 0.5014 GB, free: 5.332 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.09748, allocations: 173 kB / 0.5016 GB, free: 5.156 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.276e-05/0.09755, allocations: 72.72 kB / 0.5017 GB, free: 5.082 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.09757, allocations: 4 kB / 0.5017 GB, free: 5.078 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.09759, allocations: 42.5 kB / 0.5017 GB, free: 5.027 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.09759, allocations: 0 / 0.5017 GB, free: 5.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002934/0.09788, allocations: 216.6 kB / 0.5019 GB, free: 4.812 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.09791, allocations: 55.41 kB / 0.502 GB, free: 4.746 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.0981, allocations: 260.9 kB / 0.5022 GB, free: 4.484 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.09811, allocations: 25.7 kB / 0.5023 GB, free: 4.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.817e-05/0.09821, allocations: 232.1 kB / 0.5025 GB, free: 4.223 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.09825, allocations: 91.22 kB / 0.5026 GB, free: 4.133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/0.09831, allocations: 57.64 kB / 0.5026 GB, free: 4.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.0984, allocations: 338.8 kB / 0.5029 GB, free: 3.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.281e-05/0.09847, allocations: 55.98 kB / 0.503 GB, free: 3.672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.09857, allocations: 123.9 kB / 0.5031 GB, free: 3.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.09876, allocations: 203.8 kB / 0.5033 GB, free: 3.297 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.09876, allocations: 0 / 0.5033 GB, free: 3.297 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002493/0.09901, allocations: 256.3 kB / 0.5036 GB, free: 3.043 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.09902, allocations: 8 kB / 0.5036 GB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.09903, allocations: 0 / 0.5036 GB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.09904, allocations: 4 kB / 0.5036 GB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.09925, allocations: 88.14 kB / 0.5037 GB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.09925, allocations: 4 kB / 0.5037 GB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.011e-05/0.09934, allocations: 31.72 kB / 0.5037 GB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.09936, allocations: 12 kB / 0.5037 GB, free: 2.898 MB / 362.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.0001038/0.09946, allocations: 149.7 kB / 0.5038 GB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.09949, allocations: 23.86 kB / 0.5039 GB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.09953, allocations: 30.27 kB / 0.5039 GB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.09953, allocations: 4 kB / 0.5039 GB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.09954, allocations: 0 / 0.5039 GB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.09954, allocations: 7.938 kB / 0.5039 GB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.1, allocations: 0.5104 MB / 0.5044 GB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1, allocations: 0 / 0.5044 GB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.1002, allocations: 55.97 kB / 0.5045 GB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1002, allocations: 3.984 kB / 0.5045 GB, free: 2.066 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1002, allocations: 11.94 kB / 0.5045 GB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.217e-06/0.1002, allocations: 3.938 kB / 0.5045 GB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1002, allocations: 0 / 0.5045 GB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.1005, allocations: 347.2 kB / 0.5048 GB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.1005, allocations: 35.84 kB / 0.5048 GB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.1005, allocations: 11.97 kB / 0.5049 GB, free: 1.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.1006, allocations: 11.98 kB / 0.5049 GB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.1006, allocations: 11.98 kB / 0.5049 GB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1007, allocations: 8 kB / 0.5049 GB, free: 1.617 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002768/0.1009, allocations: 184.5 kB / 0.5051 GB, free: 1.438 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1009, allocations: 0 / 0.5051 GB, free: 1.438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.1012, allocations: 103.7 kB / 0.5052 GB, free: 1.336 MB / 362.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.57e-05/0.1012, allocations: 99.19 kB / 0.5053 GB, free: 1.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.1014, allocations: 160 kB / 0.5054 GB, free: 1.074 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1014, allocations: 0 / 0.5054 GB, free: 1.074 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.267e-05/0.1015, allocations: 71.91 kB / 0.5055 GB, free: 1.004 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.1017, allocations: 41.89 kB / 0.5055 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.1028, allocations: 0.9649 MB / 0.5065 GB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.1029, allocations: 190.1 kB / 0.5066 GB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.415e-05/0.1029, allocations: 23.44 kB / 0.5067 GB, free: 15.73 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.1029, allocations: 0 / 0.5067 GB, free: 15.73 MB / 378.7 MB Notification: Performance of Templates: time 0.003589/0.1065, allocations: 3.686 MB / 0.5103 GB, free: 12.04 MB / 378.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: 4.7647021119482815]