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.0009281/0.0009281, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009857/0.0009857, allocations: 173 kB / 23.03 MB, free: 1.543 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.9652/0.9652, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.02593/0.02593, allocations: 7.102 MB / 267 MB, free: 6.062 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.492e-06/1.492e-06, allocations: 0 / 339.1 MB, free: 9.895 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.613e-05, allocations: 6.25 kB / 339.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RLD_Circuit.PhysicalModel): time 0.002796/0.002812, allocations: 2.639 MB / 341.7 MB, free: 7.223 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009697/0.003782, allocations: 0.7321 MB / 342.4 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.003899, allocations: 7.938 kB / 342.4 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.004136, allocations: 67.47 kB / 342.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.00431, allocations: 95.2 kB / 342.6 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.004498, allocations: 75.77 kB / 342.7 MB, free: 6.246 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.004769, allocations: 318.4 kB / 343 MB, free: 5.934 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.004893, allocations: 57.08 kB / 343 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.005104, allocations: 179.5 kB / 343.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.005228, allocations: 107.7 kB / 343.3 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.005259, allocations: 27.94 kB / 343.3 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.377e-05/0.005313, allocations: 28 kB / 343.4 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.053e-05/0.005344, allocations: 59.75 kB / 343.4 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.072e-05/0.005414, allocations: 95.75 kB / 343.5 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.005637, allocations: 211.2 kB / 343.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005639, allocations: 0 / 343.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.00564, allocations: 0 / 343.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.005644, allocations: 0 / 343.7 MB, free: 5.184 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.0006432/0.006287, allocations: 0.5895 MB / 344.3 MB, free: 4.559 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.006325, allocations: 12.03 kB / 344.3 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.006471, allocations: 52.75 kB / 344.4 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.006681, allocations: 208.1 kB / 344.6 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.006697, allocations: 16.88 kB / 344.6 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.006731, allocations: 20.38 kB / 344.6 MB, free: 4.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.006975, allocations: 186.8 kB / 344.8 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.006987, allocations: 0 / 344.8 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.007007, allocations: 15.98 kB / 344.8 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.007016, allocations: 4 kB / 344.8 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.007165, allocations: 91.36 kB / 344.9 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000795/0.00796, allocations: 0.664 MB / 345.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.008157, allocations: 111.1 kB / 345.7 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.008275, allocations: 67.66 kB / 345.8 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.00829, allocations: 4 kB / 345.8 MB, free: 3.012 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.00831, allocations: 37.39 kB / 345.8 MB, free: 2.965 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.243e-06/0.008312, allocations: 0 / 345.8 MB, free: 2.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.002021/0.01033, allocations: 0.6943 MB / 346.5 MB, free: 2.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.54e-05/0.01035, allocations: 51.41 kB / 346.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.0105, allocations: 286.7 kB / 346.8 MB, free: 1.867 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.01052, allocations: 29.7 kB / 346.9 MB, free: 1.832 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.01058, allocations: 203.1 kB / 347 MB, free: 1.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.01062, allocations: 71.41 kB / 347.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.01068, allocations: 43.36 kB / 347.2 MB, free: 1.508 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.01073, allocations: 0.5157 MB / 347.7 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.14e-05/0.0108, allocations: 27.98 kB / 347.7 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-05/0.01089, allocations: 56.28 kB / 347.8 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.01104, allocations: 113.4 kB / 347.9 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01105, allocations: 0 / 347.9 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008144/0.01186, allocations: 280 kB / 348.1 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.01187, allocations: 12.02 kB / 348.2 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.01188, allocations: 0 / 348.2 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008876/0.01276, allocations: 187.4 kB / 348.3 MB, free: 300 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.01288, allocations: 31.98 kB / 348.4 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.01501, allocations: 2.303 MB / 350.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.01513, allocations: 15.98 kB / 350.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.01514, allocations: 4 kB / 350.7 MB, free: 13.82 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 9.918e-05/0.01524, allocations: 164.5 kB / 350.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.627e-05/0.0153, allocations: 27.86 kB / 350.9 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008262/0.01612, allocations: 278.7 kB / 351.2 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.01613, allocations: 7.984 kB / 351.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.01613, allocations: 0 / 351.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.01613, allocations: 4 kB / 351.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.0172, allocations: 0.6177 MB / 351.8 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.0172, allocations: 0 / 351.8 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.53e-05/0.01729, allocations: 28.02 kB / 351.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006094/0.0179, allocations: 175.4 kB / 352 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.01791, allocations: 11.94 kB / 352 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/0.01941, allocations: 2.216 MB / 354.2 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01941, allocations: 4.031 kB / 354.2 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007227/0.02014, allocations: 470.4 kB / 354.7 MB, free: 9.609 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.02016, allocations: 23.8 kB / 354.7 MB, free: 9.586 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.02018, allocations: 4.031 kB / 354.7 MB, free: 9.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.02028, allocations: 15.98 kB / 354.7 MB, free: 9.566 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.02032, allocations: 19.97 kB / 354.7 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.02033, allocations: 7.984 kB / 354.7 MB, free: 9.539 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.02043, allocations: 205.5 kB / 354.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02043, allocations: 0 / 354.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002579/0.02069, allocations: 64 kB / 355 MB, free: 9.277 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 7.774e-05/0.02077, allocations: 99.19 kB / 355.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003502/0.02112, allocations: 303.5 kB / 355.4 MB, free: 8.855 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.02112, allocations: 0 / 355.4 MB, free: 8.855 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.02129, allocations: 265.3 kB / 355.7 MB, free: 8.574 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.02153, allocations: 39.03 kB / 355.7 MB, free: 8.539 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008948/0.02242, allocations: 0.5312 MB / 356.2 MB, free: 7.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.41e-05/0.02248, allocations: 96.48 kB / 356.3 MB, free: 7.859 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.776e-05/0.02254, allocations: 13.95 kB / 356.3 MB, free: 7.848 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.02258, allocations: 20.5 kB / 356.4 MB, free: 7.828 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02258, allocations: 4 kB / 356.4 MB, free: 7.824 MB / 282.7 MB Notification: Performance of Templates: time 0.006936/0.02952, allocations: 5.874 MB / 362.2 MB, free: 2.012 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.354387365747243]