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.0009069/0.0009069, allocations: 77.95 kB / 20.66 MB, free: 3.832 MB / 18.57 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.0009463/0.0009463, allocations: 165 kB / 24.06 MB, free: 448 kB / 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 0.9614/0.9614, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.0266/0.0266, allocations: 7.116 MB / 268.2 MB, free: 5.879 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: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 340.3 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.049e-05, allocations: 13.06 kB / 340.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RLD_Circuit.PhysicalModel): time 0.002253/0.002273, allocations: 2.608 MB / 342.9 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008129/0.003086, allocations: 0.732 MB / 343.7 MB, free: 6.227 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.003187, allocations: 4 kB / 343.7 MB, free: 6.223 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.003388, allocations: 63.42 kB / 343.7 MB, free: 6.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.003516, allocations: 91.25 kB / 343.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.003656, allocations: 83.77 kB / 343.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.003852, allocations: 318.4 kB / 344.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.003958, allocations: 53.73 kB / 344.3 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.00412, allocations: 187.5 kB / 344.4 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.35e-05/0.004214, allocations: 107.7 kB / 344.5 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.004239, allocations: 27.94 kB / 344.6 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.615e-05/0.004285, allocations: 28 kB / 344.6 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.004313, allocations: 59.75 kB / 344.7 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.004363, allocations: 95.75 kB / 344.7 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.004529, allocations: 199.2 kB / 344.9 MB, free: 4.934 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.004531, allocations: 0 / 344.9 MB, free: 4.934 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.4e-07/0.004531, allocations: 4 kB / 344.9 MB, free: 4.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.004536, allocations: 0 / 344.9 MB, free: 4.93 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0004856/0.005021, allocations: 0.601 MB / 345.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.005051, allocations: 12.03 kB / 345.6 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.005156, allocations: 48.75 kB / 345.6 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.005307, allocations: 204.1 kB / 345.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.005319, allocations: 16.88 kB / 345.8 MB, free: 3.992 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.005343, allocations: 16.38 kB / 345.8 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.005498, allocations: 182.8 kB / 346 MB, free: 3.781 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.005509, allocations: 4 kB / 346 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.005521, allocations: 4 kB / 346 MB, free: 3.773 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.005527, allocations: 4 kB / 346 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.846e-05/0.005606, allocations: 59.44 kB / 346.1 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/0.006183, allocations: 0.6333 MB / 346.7 MB, free: 3.035 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.006325, allocations: 107.1 kB / 346.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/0.006399, allocations: 59.64 kB / 346.9 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.006412, allocations: 0 / 346.9 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.006429, allocations: 45.33 kB / 346.9 MB, free: 2.801 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 8.82e-07/0.00643, allocations: 0 / 346.9 MB, free: 2.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0015/0.00793, allocations: 0.6365 MB / 347.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.402e-05/0.007944, allocations: 51.41 kB / 347.6 MB, free: 2.062 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/0.008041, allocations: 274.6 kB / 347.9 MB, free: 1.773 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.008053, allocations: 25.7 kB / 347.9 MB, free: 1.742 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/0.008107, allocations: 219 kB / 348.1 MB, free: 1.523 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.008134, allocations: 71.42 kB / 348.2 MB, free: 1.453 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.008182, allocations: 47.28 kB / 348.2 MB, free: 1.398 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.008231, allocations: 0.5156 MB / 348.8 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.77e-05/0.008268, allocations: 27.97 kB / 348.8 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.023e-05/0.008319, allocations: 50.16 kB / 348.8 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.041e-05/0.008409, allocations: 90.19 kB / 348.9 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.00841, allocations: 0 / 348.9 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006091/0.009019, allocations: 268.8 kB / 349.2 MB, free: 432 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.009029, allocations: 7.125 kB / 349.2 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.009033, allocations: 0 / 349.2 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006845/0.009718, allocations: 183.5 kB / 349.4 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.624e-05/0.009804, allocations: 35.91 kB / 349.4 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.0114, allocations: 2.272 MB / 351.7 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.882e-05/0.01149, allocations: 4 kB / 351.7 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.01151, allocations: 16.02 kB / 351.7 MB, free: 13.79 MB / 282.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 8.617e-05/0.01159, allocations: 160.6 kB / 351.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.01163, allocations: 27.84 kB / 351.9 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006126/0.01225, allocations: 261.5 kB / 352.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01225, allocations: 7.938 kB / 352.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.01225, allocations: 0 / 352.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01226, allocations: 3.984 kB / 352.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000851/0.01311, allocations: 0.5714 MB / 352.7 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01311, allocations: 0 / 352.7 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-05/0.01319, allocations: 27.98 kB / 352.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006298/0.01382, allocations: 175.5 kB / 352.9 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.01383, allocations: 4 kB / 352.9 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.0152, allocations: 2.193 MB / 355.1 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.0152, allocations: 0 / 355.1 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006929/0.01589, allocations: 443.3 kB / 355.5 MB, free: 9.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.01592, allocations: 27.78 kB / 355.6 MB, free: 9.703 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.01594, allocations: 4 kB / 355.6 MB, free: 9.699 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.86e-05/0.01604, allocations: 8 kB / 355.6 MB, free: 9.691 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.01608, allocations: 23.95 kB / 355.6 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.01609, allocations: 7.938 kB / 355.6 MB, free: 9.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.291e-05/0.01617, allocations: 193.5 kB / 355.8 MB, free: 9.473 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01617, allocations: 4.031 kB / 355.8 MB, free: 9.469 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002686/0.01644, allocations: 68 kB / 355.9 MB, free: 9.402 MB / 282.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 8.56e-05/0.01653, allocations: 95.25 kB / 356 MB, free: 9.301 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.01681, allocations: 291.5 kB / 356.2 MB, free: 8.996 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01681, allocations: 0 / 356.2 MB, free: 8.996 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.01696, allocations: 253.5 kB / 356.5 MB, free: 8.727 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.01719, allocations: 44.77 kB / 356.5 MB, free: 8.684 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007832/0.01798, allocations: 0.5198 MB / 357.1 MB, free: 8.129 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.885e-05/0.01803, allocations: 88.48 kB / 357.1 MB, free: 8.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.704e-05/0.01808, allocations: 17.95 kB / 357.2 MB, free: 8.004 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.01819, allocations: 114.2 kB / 357.3 MB, free: 7.891 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01819, allocations: 0 / 357.3 MB, free: 7.891 MB / 282.7 MB Notification: Performance of Templates: time 0.007153/0.02534, allocations: 6.082 MB / 363.4 MB, free: 1.879 MB / 282.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: 3.3267736877314746]