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.001073/0.001073, allocations: 88.42 kB / 19.94 MB, free: 4.605 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.001754/0.001754, allocations: 177.9 kB / 23.22 MB, free: 1.324 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 0.963/0.963, allocations: 177.1 MB / 203.5 MB, free: 5.691 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.02965/0.02965, allocations: 7.119 MB / 267.1 MB, free: 6.273 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 2.575e-06/2.575e-06, allocations: 4 kB / 393.5 MB, free: 3.574 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.24e-05, allocations: 8.891 kB / 393.5 MB, free: 3.566 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RLD_Circuit.PhysicalModel): time 0.003025/0.003057, allocations: 2.499 MB / 396 MB, free: 1.047 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009563/0.004014, allocations: 0.7165 MB / 396.7 MB, free: 336 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.527e-05/0.004109, allocations: 4 kB / 396.7 MB, free: 332 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.004332, allocations: 63.42 kB / 396.7 MB, free: 268 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.00448, allocations: 95.19 kB / 396.8 MB, free: 172 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.004626, allocations: 79.77 kB / 396.9 MB, free: 92 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.004879, allocations: 321.6 kB / 397.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.005, allocations: 53.08 kB / 397.3 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.005193, allocations: 179.5 kB / 397.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.005303, allocations: 103.7 kB / 397.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.005334, allocations: 24 kB / 397.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.44e-05/0.005389, allocations: 28 kB / 397.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.005423, allocations: 55.75 kB / 397.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.64e-05/0.005489, allocations: 103.7 kB / 397.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.005729, allocations: 295.1 kB / 398.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.005732, allocations: 0 / 398.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.005733, allocations: 4 kB / 398.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.005736, allocations: 0 / 398.1 MB, free: 14.95 MB / 330.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.0006255/0.006362, allocations: 0.4895 MB / 398.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.006397, allocations: 12.03 kB / 398.6 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.006504, allocations: 36.75 kB / 398.6 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.006725, allocations: 221.1 kB / 398.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.00674, allocations: 16.88 kB / 398.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.006769, allocations: 16.38 kB / 398.8 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.007033, allocations: 230.1 kB / 399.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.007043, allocations: 0 / 399.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.007059, allocations: 4 kB / 399.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.007065, allocations: 12 kB / 399.1 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.00729, allocations: 169.8 kB / 399.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007505/0.00804, allocations: 0.6375 MB / 399.9 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.008302, allocations: 170.6 kB / 400.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.008451, allocations: 96.81 kB / 400.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.008465, allocations: 0 / 400.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.008489, allocations: 42.56 kB / 400.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 9.61e-07/0.00849, allocations: 0 / 400.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.002115/0.01061, allocations: 1 MB / 401.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.01063, allocations: 51.41 kB / 401.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.01079, allocations: 228.2 kB / 401.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.01081, allocations: 33.7 kB / 401.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.01088, allocations: 164.3 kB / 401.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.01092, allocations: 67.42 kB / 401.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.01097, allocations: 37.7 kB / 401.8 MB, free: 11.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.497e-05/0.01105, allocations: 334.8 kB / 402.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.01119, allocations: 91.95 kB / 402.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.01133, allocations: 109.7 kB / 402.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.01158, allocations: 200.6 kB / 402.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01159, allocations: 0 / 402.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008223/0.01241, allocations: 422 kB / 402.9 MB, free: 9.871 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01242, allocations: 10.5 kB / 402.9 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.01243, allocations: 0 / 402.9 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006465/0.01307, allocations: 220.6 kB / 403.1 MB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.01318, allocations: 39.91 kB / 403.2 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.01519, allocations: 2.111 MB / 405.3 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.05e-05/0.01528, allocations: 24.02 kB / 405.3 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.01529, allocations: 7.984 kB / 405.3 MB, free: 7.355 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 9.496e-05/0.01538, allocations: 141.7 kB / 405.4 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.01541, allocations: 19.86 kB / 405.5 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008061/0.01622, allocations: 415.9 kB / 405.9 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01622, allocations: 8 kB / 405.9 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.01622, allocations: 0 / 405.9 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01623, allocations: 0 / 405.9 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.01727, allocations: 0.7066 MB / 406.6 MB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01727, allocations: 4 kB / 406.6 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.849e-05/0.01736, allocations: 31.97 kB / 406.6 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005605/0.01792, allocations: 196.6 kB / 406.8 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.01794, allocations: 12.12 kB / 406.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.0196, allocations: 1.97 MB / 408.8 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.0196, allocations: 4.031 kB / 408.8 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000943/0.02054, allocations: 0.5949 MB / 409.4 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.02057, allocations: 27.88 kB / 409.4 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.02059, allocations: 3.938 kB / 409.4 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.0207, allocations: 19.98 kB / 409.4 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.02074, allocations: 11.97 kB / 409.4 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.02076, allocations: 11.98 kB / 409.5 MB, free: 3.004 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001107/0.02087, allocations: 169.6 kB / 409.6 MB, free: 2.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02087, allocations: 0 / 409.6 MB, free: 2.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002577/0.02113, allocations: 72.06 kB / 409.7 MB, free: 2.77 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.897e-05/0.02121, allocations: 107.1 kB / 409.8 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004431/0.02166, allocations: 330.4 kB / 410.1 MB, free: 2.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.02166, allocations: 4.062 kB / 410.1 MB, free: 2.316 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.02187, allocations: 250.5 kB / 410.4 MB, free: 2.059 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.0221, allocations: 39.86 kB / 410.4 MB, free: 2.023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007168/0.02282, allocations: 0.5849 MB / 411 MB, free: 1.406 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.39e-05/0.0229, allocations: 142.4 kB / 411.1 MB, free: 1.246 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.054e-05/0.02295, allocations: 24.48 kB / 411.2 MB, free: 1.223 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02296, allocations: 0 / 411.2 MB, free: 1.223 MB / 330.7 MB Notification: Performance of Templates: time 0.1643/0.1873, allocations: 4.323 MB / 415.5 MB, free: 30.32 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 > ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.757752590812743]