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.001066/0.001066, allocations: 77.86 kB / 20.67 MB, free: 3.836 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.0009614/0.0009614, allocations: 165 kB / 24.06 MB, free: 456 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.9646/0.9646, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.03463/0.03463, allocations: 7.114 MB / 268.2 MB, free: 5.891 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.613e-06/1.613e-06, allocations: 3.938 kB / 340.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.032e-05, allocations: 6.25 kB / 340.3 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RLD_Circuit.PhysicalModel): time 0.002645/0.002665, allocations: 2.623 MB / 342.9 MB, free: 8.008 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.00376, allocations: 0.736 MB / 343.7 MB, free: 7.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.003868, allocations: 4 kB / 343.7 MB, free: 7.266 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.004087, allocations: 63.48 kB / 343.7 MB, free: 7.203 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.004235, allocations: 95.14 kB / 343.8 MB, free: 7.109 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.004399, allocations: 83.75 kB / 343.9 MB, free: 7.027 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.004647, allocations: 318.1 kB / 344.2 MB, free: 6.719 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.004755, allocations: 45.11 kB / 344.3 MB, free: 6.676 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.004964, allocations: 191.4 kB / 344.4 MB, free: 6.488 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.005075, allocations: 103.7 kB / 344.5 MB, free: 6.387 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.005103, allocations: 24 kB / 344.6 MB, free: 6.363 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.992e-05/0.005153, allocations: 32 kB / 344.6 MB, free: 6.332 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.005187, allocations: 63.75 kB / 344.7 MB, free: 6.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.005248, allocations: 91.75 kB / 344.8 MB, free: 6.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.005454, allocations: 203.2 kB / 345 MB, free: 5.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005457, allocations: 3.984 kB / 345 MB, free: 5.977 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005457, allocations: 0 / 345 MB, free: 5.977 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.005462, allocations: 0 / 345 MB, free: 5.977 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.0005749/0.006037, allocations: 0.5933 MB / 345.5 MB, free: 5.348 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.006071, allocations: 12.03 kB / 345.6 MB, free: 5.336 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.006187, allocations: 52.75 kB / 345.6 MB, free: 5.285 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.006362, allocations: 204 kB / 345.8 MB, free: 5.059 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.006376, allocations: 16.88 kB / 345.8 MB, free: 5.043 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.006403, allocations: 16.38 kB / 345.8 MB, free: 5.027 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.006588, allocations: 178.8 kB / 346 MB, free: 4.836 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.006601, allocations: 7.953 kB / 346 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.006614, allocations: 8 kB / 346 MB, free: 4.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.006621, allocations: 4 kB / 346 MB, free: 4.816 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.775e-05/0.006709, allocations: 67.42 kB / 346.1 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006725/0.007381, allocations: 0.6217 MB / 346.7 MB, free: 4.086 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.007524, allocations: 111 kB / 346.8 MB, free: 3.965 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/0.00785, allocations: 63.59 kB / 346.9 MB, free: 3.898 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.007862, allocations: 0 / 346.9 MB, free: 3.898 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.007884, allocations: 41.39 kB / 346.9 MB, free: 3.848 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 9.62e-07/0.007885, allocations: 0 / 346.9 MB, free: 3.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.00157/0.009456, allocations: 0.6413 MB / 347.6 MB, free: 3.164 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.632e-05/0.009472, allocations: 51.41 kB / 347.6 MB, free: 3.102 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.009608, allocations: 270.6 kB / 347.9 MB, free: 2.816 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.009625, allocations: 29.7 kB / 347.9 MB, free: 2.781 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.009703, allocations: 219 kB / 348.1 MB, free: 2.562 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.009738, allocations: 63.42 kB / 348.2 MB, free: 2.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.009792, allocations: 51.33 kB / 348.2 MB, free: 2.441 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.009898, allocations: 0.5039 MB / 348.8 MB, free: 1.926 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.29e-05/0.009941, allocations: 31.97 kB / 348.8 MB, free: 1.895 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/0.009996, allocations: 54.33 kB / 348.8 MB, free: 1.836 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.958e-05/0.0101, allocations: 83.28 kB / 348.9 MB, free: 1.746 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.0101, allocations: 0 / 348.9 MB, free: 1.746 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007276/0.01082, allocations: 268 kB / 349.2 MB, free: 1.477 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.01084, allocations: 6.344 kB / 349.2 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.01084, allocations: 0 / 349.2 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000712/0.01155, allocations: 187.5 kB / 349.4 MB, free: 1.285 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.195e-05/0.01165, allocations: 35.92 kB / 349.4 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.01323, allocations: 2.265 MB / 351.7 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.546e-05/0.01332, allocations: 11.98 kB / 351.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.01334, allocations: 4 kB / 351.7 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 8.205e-05/0.01342, allocations: 164.5 kB / 351.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.01346, allocations: 35.83 kB / 351.9 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006117/0.01407, allocations: 258.8 kB / 352.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.01407, allocations: 7.938 kB / 352.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01408, allocations: 0 / 352.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.0141, allocations: 19.91 kB / 352.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.01412, allocations: 7.984 kB / 352.2 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.533e-05/0.01422, allocations: 11.98 kB / 352.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.01426, allocations: 23.95 kB / 352.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004772/0.01473, allocations: 319.2 kB / 352.5 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002955/0.01503, allocations: 454.7 kB / 353 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.974e-05/0.01509, allocations: 51.53 kB / 353 MB, free: 13.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.148e-05/0.01517, allocations: 201.4 kB / 353.2 MB, free: 13.28 MB / 330.7 MB Notification: Performance of Backend: time 2.7e-07/0.01517, allocations: 0 / 353.2 MB, free: 13.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004747/0.01564, allocations: 349.7 kB / 353.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of SimCode: time 0.0009549/0.0166, allocations: 1.296 MB / 354.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of Templates: time 0.006616/0.02322, allocations: 5.466 MB / 360.3 MB, free: 6.148 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.070122289005667]