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.0009308/0.0009308, allocations: 100.4 kB / 19.7 MB, free: 444 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.0009866/0.0009866, allocations: 209.6 kB / 23 MB, free: 2.988 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 0.971/0.971, allocations: 230.6 MB / 256.8 MB, free: 9.617 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.03161/0.03161, allocations: 9.552 MB / 322.7 MB, free: 8.488 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.001656/0.001656, allocations: 79.88 kB / 449.1 MB, free: 38.01 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08574/0.08739, allocations: 55.77 MB / 0.493 GB, free: 14.13 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RLD_Circuit.PhysicalModel): time 0.002831/0.09022, allocations: 2.486 MB / 0.4955 GB, free: 11.62 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.09149, allocations: 0.7127 MB / 0.4962 GB, free: 10.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.09161, allocations: 4 kB / 0.4962 GB, free: 10.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.09187, allocations: 63.47 kB / 0.4962 GB, free: 10.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.09203, allocations: 95.2 kB / 0.4963 GB, free: 10.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.0922, allocations: 79.83 kB / 0.4964 GB, free: 10.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.09246, allocations: 298.7 kB / 0.4967 GB, free: 10.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.09261, allocations: 57.06 kB / 0.4967 GB, free: 10.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.09281, allocations: 131.5 kB / 0.4968 GB, free: 10.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.09293, allocations: 119.4 kB / 0.497 GB, free: 10.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.09296, allocations: 28 kB / 0.497 GB, free: 10.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.487e-05/0.09302, allocations: 28 kB / 0.497 GB, free: 10.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.567e-05/0.09306, allocations: 59.77 kB / 0.4971 GB, free: 9.965 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.09313, allocations: 111.5 kB / 0.4972 GB, free: 9.855 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.0934, allocations: 302.7 kB / 0.4975 GB, free: 9.559 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.0934, allocations: 0 / 0.4975 GB, free: 9.559 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.09341, allocations: 0 / 0.4975 GB, free: 9.559 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.09341, allocations: 0 / 0.4975 GB, free: 9.559 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.0006829/0.0941, allocations: 0.4935 MB / 0.4979 GB, free: 9.035 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.09413, allocations: 12.03 kB / 0.498 GB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.09426, allocations: 40.73 kB / 0.498 GB, free: 8.984 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.09452, allocations: 221.9 kB / 0.4982 GB, free: 8.742 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.09453, allocations: 12.81 kB / 0.4982 GB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.09457, allocations: 23.94 kB / 0.4982 GB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.09486, allocations: 217 kB / 0.4985 GB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.09487, allocations: 7.953 kB / 0.4985 GB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.09489, allocations: 12 kB / 0.4985 GB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.0949, allocations: 4 kB / 0.4985 GB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.09513, allocations: 165.6 kB / 0.4986 GB, free: 8.297 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008518/0.09598, allocations: 0.6368 MB / 0.4993 GB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.09627, allocations: 170.6 kB / 0.4994 GB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.09643, allocations: 97.09 kB / 0.4995 GB, free: 7.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.09645, allocations: 7.938 kB / 0.4995 GB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.09647, allocations: 34.56 kB / 0.4995 GB, free: 7.289 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/0.09647, allocations: 3.938 kB / 0.4996 GB, free: 7.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.002395/0.09887, allocations: 1.001 MB / 0.5005 GB, free: 6.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.0989, allocations: 63.33 kB / 0.5006 GB, free: 6.176 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.09909, allocations: 236 kB / 0.5008 GB, free: 5.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.09911, allocations: 29.7 kB / 0.5008 GB, free: 5.895 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.09919, allocations: 156.4 kB / 0.501 GB, free: 5.738 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.09923, allocations: 67.38 kB / 0.5011 GB, free: 5.672 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.09929, allocations: 45.64 kB / 0.5011 GB, free: 5.621 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.09938, allocations: 330.8 kB / 0.5014 GB, free: 5.289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.09952, allocations: 87.95 kB / 0.5015 GB, free: 5.203 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.09967, allocations: 112.8 kB / 0.5016 GB, free: 5.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.09994, allocations: 197.6 kB / 0.5018 GB, free: 4.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.09994, allocations: 0 / 0.5018 GB, free: 4.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009151/0.1009, allocations: 425.2 kB / 0.5022 GB, free: 4.469 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1009, allocations: 4 kB / 0.5022 GB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1009, allocations: 0 / 0.5022 GB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007545/0.1016, allocations: 220.5 kB / 0.5024 GB, free: 4.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1018, allocations: 35.97 kB / 0.5025 GB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/0.1043, allocations: 2.123 MB / 0.5045 GB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.1044, allocations: 20.03 kB / 0.5045 GB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.1044, allocations: 11.98 kB / 0.5046 GB, free: 1.945 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.0001232/0.1045, allocations: 129.8 kB / 0.5047 GB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.1045, allocations: 23.84 kB / 0.5047 GB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009126/0.1055, allocations: 415.9 kB / 0.5051 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1055, allocations: 4 kB / 0.5051 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1055, allocations: 0 / 0.5051 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1055, allocations: 3.984 kB / 0.5051 GB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.1067, allocations: 0.7105 MB / 0.5058 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1067, allocations: 0 / 0.5058 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.1068, allocations: 39.94 kB / 0.5058 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000635/0.1074, allocations: 196.6 kB / 0.506 GB, free: 380 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.1074, allocations: 11.98 kB / 0.506 GB, free: 368 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.1092, allocations: 1.965 MB / 0.508 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1092, allocations: 0 / 0.508 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.1103, allocations: 0.6007 MB / 0.5085 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.1103, allocations: 23.88 kB / 0.5086 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.1103, allocations: 4 kB / 0.5086 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.1104, allocations: 19.98 kB / 0.5086 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.1105, allocations: 23.78 kB / 0.5086 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.1105, allocations: 11.98 kB / 0.5086 GB, free: 13.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001123/0.1106, allocations: 177.5 kB / 0.5088 GB, free: 13.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1106, allocations: 4.062 kB / 0.5088 GB, free: 13.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000306/0.1109, allocations: 64 kB / 0.5089 GB, free: 13.36 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 9.955e-05/0.111, allocations: 99.23 kB / 0.509 GB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000529/0.1116, allocations: 334.5 kB / 0.5093 GB, free: 12.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1116, allocations: 0 / 0.5093 GB, free: 12.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.1118, allocations: 242.5 kB / 0.5095 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.1121, allocations: 32.59 kB / 0.5095 GB, free: 12.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.1132, allocations: 0.6605 MB / 0.5102 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.624e-05/0.1133, allocations: 142.4 kB / 0.5103 GB, free: 11.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.1134, allocations: 19.42 kB / 0.5103 GB, free: 11.76 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1134, allocations: 8 kB / 0.5103 GB, free: 11.75 MB / 378.7 MB Notification: Performance of Templates: time 0.004457/0.1178, allocations: 4.33 MB / 0.5146 GB, free: 7.422 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 > ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.253960777074099]