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.0008628/0.0008628, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.000924/0.000924, allocations: 170 kB / 23.27 MB, free: 1.223 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.061/1.061, allocations: 177.1 MB / 203.7 MB, free: 5.48 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.03185/0.03185, allocations: 7.114 MB / 267.4 MB, free: 5.883 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 3.217e-06/3.217e-06, allocations: 3.984 kB / 339.5 MB, free: 10.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.635e-05, allocations: 2.312 kB / 339.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RLD_Circuit.PhysicalModel): time 0.002546/0.002562, allocations: 2.626 MB / 342.1 MB, free: 8.016 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008822/0.003444, allocations: 0.7321 MB / 342.9 MB, free: 7.281 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.003548, allocations: 4 kB / 342.9 MB, free: 7.277 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.003761, allocations: 59.48 kB / 342.9 MB, free: 7.219 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.003909, allocations: 103.1 kB / 343 MB, free: 7.117 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.00406, allocations: 79.77 kB / 343.1 MB, free: 7.039 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.004304, allocations: 314.5 kB / 343.4 MB, free: 6.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.004416, allocations: 53.09 kB / 343.5 MB, free: 6.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.004619, allocations: 187.4 kB / 343.7 MB, free: 6.496 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.004733, allocations: 103.7 kB / 343.8 MB, free: 6.395 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.004763, allocations: 28 kB / 343.8 MB, free: 6.367 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.321e-05/0.004816, allocations: 28 kB / 343.8 MB, free: 6.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.004852, allocations: 55.75 kB / 343.9 MB, free: 6.285 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.19e-05/0.004914, allocations: 95.75 kB / 344 MB, free: 6.191 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.005117, allocations: 203.2 kB / 344.2 MB, free: 5.992 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.005118, allocations: 0 / 344.2 MB, free: 5.992 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005119, allocations: 0 / 344.2 MB, free: 5.992 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.005122, allocations: 0 / 344.2 MB, free: 5.992 MB / 314.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.0005946/0.005717, allocations: 0.5972 MB / 344.8 MB, free: 5.359 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.005751, allocations: 12.02 kB / 344.8 MB, free: 5.348 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.00586, allocations: 48.75 kB / 344.8 MB, free: 5.301 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.00604, allocations: 208.1 kB / 345 MB, free: 5.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.006055, allocations: 16.88 kB / 345 MB, free: 5.055 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.00608, allocations: 16.38 kB / 345.1 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.006272, allocations: 186.7 kB / 345.2 MB, free: 4.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.006283, allocations: 3.953 kB / 345.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.006296, allocations: 8 kB / 345.2 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.006303, allocations: 4 kB / 345.2 MB, free: 4.824 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.536e-05/0.006388, allocations: 59.44 kB / 345.3 MB, free: 4.766 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006895/0.007078, allocations: 0.6295 MB / 345.9 MB, free: 4.094 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.007297, allocations: 118.9 kB / 346.1 MB, free: 3.965 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.073e-05/0.007388, allocations: 55.64 kB / 346.1 MB, free: 3.906 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.0074, allocations: 4 kB / 346.1 MB, free: 3.902 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.00742, allocations: 37.39 kB / 346.1 MB, free: 3.855 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.007422, allocations: 0 / 346.1 MB, free: 3.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.001607/0.009028, allocations: 0.6451 MB / 346.8 MB, free: 3.172 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.009056, allocations: 51.41 kB / 346.8 MB, free: 3.109 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.009214, allocations: 274.6 kB / 347.1 MB, free: 2.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.00923, allocations: 25.7 kB / 347.1 MB, free: 2.789 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.917e-05/0.009319, allocations: 219 kB / 347.3 MB, free: 2.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.009358, allocations: 67.41 kB / 347.4 MB, free: 2.504 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.009416, allocations: 39.36 kB / 347.5 MB, free: 2.457 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.009544, allocations: 0.5156 MB / 348 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.541e-05/0.009589, allocations: 27.97 kB / 348 MB, free: 1.902 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.813e-05/0.009647, allocations: 47.33 kB / 348 MB, free: 1.848 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.009757, allocations: 86.28 kB / 348.1 MB, free: 1.758 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.009758, allocations: 0 / 348.1 MB, free: 1.758 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006365/0.01039, allocations: 268.8 kB / 348.4 MB, free: 1.484 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.01041, allocations: 8 kB / 348.4 MB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01041, allocations: 0 / 348.4 MB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007113/0.01113, allocations: 187.5 kB / 348.6 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.625e-05/0.01122, allocations: 35.97 kB / 348.6 MB, free: 1.254 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.01291, allocations: 2.264 MB / 350.9 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.463e-05/0.01299, allocations: 4 kB / 350.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.01301, allocations: 11.98 kB / 350.9 MB, free: 14.86 MB / 330.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.0001048/0.01311, allocations: 172.5 kB / 351.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.01315, allocations: 31.8 kB / 351.1 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000602/0.01376, allocations: 254.8 kB / 351.3 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.01376, allocations: 7.938 kB / 351.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.01376, allocations: 0 / 351.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01377, allocations: 3.984 kB / 351.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.01479, allocations: 0.5677 MB / 351.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.01479, allocations: 4 kB / 351.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.878e-05/0.01488, allocations: 31.92 kB / 352 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006291/0.01551, allocations: 171.5 kB / 352.1 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.01553, allocations: 4 kB / 352.1 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.01697, allocations: 2.189 MB / 354.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.01697, allocations: 4.188 kB / 354.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006877/0.01766, allocations: 457.8 kB / 354.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.01769, allocations: 31.77 kB / 354.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.01771, allocations: 8 kB / 354.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.783e-05/0.01781, allocations: 8 kB / 354.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.01785, allocations: 19.95 kB / 354.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.01786, allocations: 4 kB / 354.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.355e-05/0.01794, allocations: 189.5 kB / 355 MB, free: 10.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01794, allocations: 0 / 355 MB, free: 10.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002755/0.01822, allocations: 68.03 kB / 355.1 MB, free: 10.46 MB / 330.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.523e-05/0.0183, allocations: 103.2 kB / 355.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.0186, allocations: 294.3 kB / 355.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01861, allocations: 0 / 355.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.01876, allocations: 253.3 kB / 355.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.01899, allocations: 40.77 kB / 355.8 MB, free: 9.734 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008247/0.01982, allocations: 0.5258 MB / 356.3 MB, free: 9.176 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.305e-05/0.01987, allocations: 88.48 kB / 356.4 MB, free: 9.066 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.268e-05/0.01993, allocations: 21.95 kB / 356.4 MB, free: 9.043 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.02005, allocations: 110.2 kB / 356.5 MB, free: 8.934 MB / 330.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02005, allocations: 0 / 356.5 MB, free: 8.934 MB / 330.7 MB Notification: Performance of Templates: time 0.007/0.02705, allocations: 5.935 MB / 362.4 MB, free: 3.062 MB / 330.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.3821281660348177]