Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.RLD_Circuit.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.001782/0.001782, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 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.001927/0.001927, allocations: 213.6 kB / 22.25 MB, free: 3.59 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.738/1.738, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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.05056/0.05056, allocations: 9.554 MB / 322 MB, free: 8.469 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.RLD_Circuit.PhysicalModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel") translateModel(ChaoticCircuits.RLD_Circuit.PhysicalModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RLD_Circuit.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.00375/0.00375, allocations: 75.88 kB / 449.1 MB, free: 37.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09876/0.1025, allocations: 55.78 MB / 0.4931 GB, free: 13.34 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RLD_Circuit.PhysicalModel): time 0.004727/0.1072, allocations: 2.479 MB / 0.4955 GB, free: 10.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.1088, allocations: 0.7049 MB / 0.4962 GB, free: 10.14 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.1089, allocations: 4 kB / 0.4962 GB, free: 10.13 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.1093, allocations: 71.47 kB / 0.4962 GB, free: 10.06 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.1095, allocations: 91.27 kB / 0.4963 GB, free: 9.973 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.1098, allocations: 71.83 kB / 0.4964 GB, free: 9.902 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004475/0.1102, allocations: 309.5 kB / 0.4967 GB, free: 9.602 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.1104, allocations: 57.02 kB / 0.4967 GB, free: 9.547 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.1107, allocations: 135.4 kB / 0.4969 GB, free: 9.414 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.1109, allocations: 123.4 kB / 0.497 GB, free: 9.293 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.1109, allocations: 24 kB / 0.497 GB, free: 9.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.683e-05/0.111, allocations: 28 kB / 0.497 GB, free: 9.242 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.992e-05/0.1111, allocations: 59.77 kB / 0.4971 GB, free: 9.184 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.1112, allocations: 115.5 kB / 0.4972 GB, free: 9.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000437/0.1117, allocations: 298.7 kB / 0.4975 GB, free: 8.777 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1117, allocations: 0 / 0.4975 GB, free: 8.777 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1117, allocations: 3.938 kB / 0.4975 GB, free: 8.773 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1117, allocations: 0 / 0.4975 GB, free: 8.773 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001129/0.1128, allocations: 0.4896 MB / 0.498 GB, free: 8.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.1129, allocations: 12.03 kB / 0.498 GB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.1131, allocations: 40.73 kB / 0.498 GB, free: 8.199 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.1134, allocations: 221.9 kB / 0.4982 GB, free: 7.957 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1135, allocations: 12.81 kB / 0.4982 GB, free: 7.945 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/0.1135, allocations: 23.94 kB / 0.4983 GB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.114, allocations: 221 kB / 0.4985 GB, free: 7.691 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.114, allocations: 3.953 kB / 0.4985 GB, free: 7.688 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.114, allocations: 8 kB / 0.4985 GB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.114, allocations: 4 kB / 0.4985 GB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.1145, allocations: 173.6 kB / 0.4987 GB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.1159, allocations: 0.629 MB / 0.4993 GB, free: 6.832 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.1164, allocations: 166.6 kB / 0.4994 GB, free: 6.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.1166, allocations: 108.8 kB / 0.4995 GB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.1167, allocations: 7.922 kB / 0.4995 GB, free: 6.543 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.1167, allocations: 34.56 kB / 0.4996 GB, free: 6.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.1167, allocations: 0 / 0.4996 GB, free: 6.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.004731/0.1214, allocations: 1.001 MB / 0.5006 GB, free: 5.465 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.1215, allocations: 55.41 kB / 0.5006 GB, free: 5.398 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.1218, allocations: 244 kB / 0.5008 GB, free: 5.145 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.1219, allocations: 25.7 kB / 0.5009 GB, free: 5.113 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.122, allocations: 160.4 kB / 0.501 GB, free: 4.953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.635e-05/0.1221, allocations: 67.44 kB / 0.5011 GB, free: 4.887 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.1222, allocations: 41.64 kB / 0.5011 GB, free: 4.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.1224, allocations: 330.8 kB / 0.5014 GB, free: 4.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.1226, allocations: 87.95 kB / 0.5015 GB, free: 4.422 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.1229, allocations: 112.8 kB / 0.5016 GB, free: 4.309 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/0.1234, allocations: 201.5 kB / 0.5018 GB, free: 4.105 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1234, allocations: 0 / 0.5018 GB, free: 4.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00198/0.1254, allocations: 421.2 kB / 0.5022 GB, free: 3.684 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1254, allocations: 8 kB / 0.5022 GB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1254, allocations: 0 / 0.5022 GB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/0.127, allocations: 216.6 kB / 0.5024 GB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.1273, allocations: 43.91 kB / 0.5025 GB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004164/0.1314, allocations: 2.119 MB / 0.5045 GB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.1317, allocations: 19.95 kB / 0.5046 GB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.1317, allocations: 11.98 kB / 0.5046 GB, free: 1.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001982/0.1319, allocations: 129.8 kB / 0.5047 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.132, allocations: 19.91 kB / 0.5047 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.1339, allocations: 419.9 kB / 0.5051 GB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.1339, allocations: 4 kB / 0.5051 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1339, allocations: 0 / 0.5051 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1339, allocations: 3.984 kB / 0.5051 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.1363, allocations: 0.7182 MB / 0.5058 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1363, allocations: 4.031 kB / 0.5058 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.1365, allocations: 31.97 kB / 0.5059 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/0.1379, allocations: 192.5 kB / 0.506 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.138, allocations: 7.984 kB / 0.5061 GB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003678/0.1416, allocations: 1.969 MB / 0.508 GB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1416, allocations: 0 / 0.508 GB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.1439, allocations: 0.6004 MB / 0.5086 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.118e-05/0.144, allocations: 31.8 kB / 0.5086 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.144, allocations: 4 kB / 0.5086 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.1442, allocations: 15.98 kB / 0.5086 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.798e-05/0.1443, allocations: 23.97 kB / 0.5086 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.1444, allocations: 7.984 kB / 0.5086 GB, free: 12.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002095/0.1446, allocations: 173.6 kB / 0.5088 GB, free: 12.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1446, allocations: 4 kB / 0.5088 GB, free: 12.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004471/0.145, allocations: 60 kB / 0.5089 GB, free: 12.58 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inductor.i,capacitor.v) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001539/0.1452, allocations: 103.2 kB / 0.509 GB, free: 12.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008595/0.146, allocations: 334.5 kB / 0.5093 GB, free: 12.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.146, allocations: 3.938 kB / 0.5093 GB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004417/0.1465, allocations: 242.5 kB / 0.5095 GB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.1469, allocations: 32.72 kB / 0.5096 GB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.1483, allocations: 0.6315 MB / 0.5102 GB, free: 11.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.1485, allocations: 142.4 kB / 0.5103 GB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.1486, allocations: 25.92 kB / 0.5103 GB, free: 11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.1486, allocations: 19.38 kB / 0.5104 GB, free: 10.98 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1486, allocations: 4 kB / 0.5104 GB, free: 10.98 MB / 378.7 MB Notification: Performance of Templates: time 0.01187/0.1605, allocations: 5.725 MB / 0.5159 GB, free: 5.316 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.sim & ./ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.300158702302724]