Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.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.001005/0.001005, allocations: 92.22 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.00129/0.00129, allocations: 173 kB / 23.02 MB, free: 1.547 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.094/1.094, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.03488/0.03488, allocations: 7.101 MB / 267.1 MB, free: 6.059 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.RikitakeSystem.IdealCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit") translateModel(ChaoticCircuits.RikitakeSystem.IdealCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 339.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.222e-05, allocations: 2.312 kB / 339.1 MB, free: 9.867 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.IdealCircuit): time 0.004593/0.004615, allocations: 7.276 MB / 346.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002739/0.007354, allocations: 1.671 MB / 348 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005495/0.007903, allocations: 35.88 kB / 348.1 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.008303, allocations: 257.5 kB / 348.3 MB, free: 0.582 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006145/0.008918, allocations: 408.2 kB / 348.7 MB, free: 184 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006221/0.00954, allocations: 395.4 kB / 349.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.01088, allocations: 1.694 MB / 350.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006608/0.01154, allocations: 0.5567 MB / 351.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009151/0.01245, allocations: 0.9668 MB / 352.3 MB, free: 12.53 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005919/0.01304, allocations: 0.5219 MB / 352.9 MB, free: 12.01 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002462/0.01329, allocations: 164 kB / 353 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.01345, allocations: 168 kB / 353.2 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.01364, allocations: 374.6 kB / 353.5 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004129/0.01405, allocations: 0.5378 MB / 354.1 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008705/0.01492, allocations: 1.117 MB / 355.2 MB, free: 9.656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.01492, allocations: 0 / 355.2 MB, free: 9.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01492, allocations: 0 / 355.2 MB, free: 9.656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.797e-05/0.01495, allocations: 0 / 355.2 MB, free: 9.656 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.001808/0.01676, allocations: 1.745 MB / 356.9 MB, free: 7.871 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.0168, allocations: 8.031 kB / 357 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/0.01707, allocations: 291.9 kB / 357.2 MB, free: 7.578 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006453/0.01772, allocations: 0.5949 MB / 357.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.798e-05/0.01777, allocations: 103.2 kB / 357.9 MB, free: 6.852 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.01789, allocations: 148.4 kB / 358.1 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.01924, allocations: 1.603 MB / 359.7 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.01926, allocations: 3.938 kB / 359.7 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/0.01933, allocations: 71.98 kB / 359.8 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.01935, allocations: 36 kB / 359.8 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007929/0.02014, allocations: 0.5261 MB / 360.3 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004128/0.02427, allocations: 4.536 MB / 364.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/0.02481, allocations: 398.1 kB / 365.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.02505, allocations: 161.1 kB / 365.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.02508, allocations: 8.5 kB / 365.4 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.02512, allocations: 53.89 kB / 365.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 1.884e-06/0.02512, allocations: 0 / 365.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=62): time 0.0006084/0.02573, allocations: 476.8 kB / 365.9 MB, free: 14.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/0.0258, allocations: 218.1 kB / 366.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/0.02633, allocations: 0.71 MB / 366.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.02637, allocations: 45.7 kB / 366.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.02668, allocations: 0.7592 MB / 367.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.02679, allocations: 210.3 kB / 367.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.02696, allocations: 208.5 kB / 368.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.02713, allocations: 0.5586 MB / 368.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.02732, allocations: 126.5 kB / 368.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004867/0.02781, allocations: 0.862 MB / 369.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006979/0.02851, allocations: 0.8462 MB / 370.5 MB, free: 9.219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.02851, allocations: 0 / 370.5 MB, free: 9.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0008717/0.02938, allocations: 0.8087 MB / 371.3 MB, free: 8.402 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.02941, allocations: 8.938 kB / 371.3 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.02942, allocations: 12 kB / 371.3 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.02944, allocations: 20 kB / 371.3 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/0.02989, allocations: 255.6 kB / 371.5 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.02991, allocations: 27.92 kB / 371.6 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.03027, allocations: 143 kB / 371.7 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.03031, allocations: 51.94 kB / 371.8 MB, free: 7.895 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 12 (multiplier_x1x2.limiter2.satNeg,multiplier_x1x2.limiter2.satPos,multiplier_x1x2.limiter1.satNeg,multiplier_x1x2.limiter1.satPos,multiplier_x1z.limiter2.satNeg,multiplier_x1z.limiter2.satPos,multiplier_x1z.limiter1.satNeg,multiplier_x1z.limiter1.satPos,multiplier_x2z.limiter2.satNeg,multiplier_x2z.limiter2.satPos,multiplier_x2z.limiter1.satNeg,multiplier_x2z.limiter1.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002084/0.03052, allocations: 242.1 kB / 372 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-05/0.03061, allocations: 111.4 kB / 372.1 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.749e-05/0.0307, allocations: 87.52 kB / 372.2 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.0307, allocations: 4 kB / 372.2 MB, free: 7.441 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.03071, allocations: 4.062 kB / 372.2 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.03072, allocations: 3.984 kB / 372.2 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.03176, allocations: 1.091 MB / 373.3 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.03177, allocations: 0 / 373.3 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.03205, allocations: 127.9 kB / 373.4 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.03205, allocations: 7.938 kB / 373.4 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.03208, allocations: 12 kB / 373.4 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.03208, allocations: 4 kB / 373.4 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.03208, allocations: 3.938 kB / 373.5 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/0.0327, allocations: 0.6657 MB / 374.1 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.03286, allocations: 131.3 kB / 374.2 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.03291, allocations: 12 kB / 374.3 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.0332, allocations: 79.94 kB / 374.3 MB, free: 5.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/0.03328, allocations: 60.28 kB / 374.4 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.0333, allocations: 28 kB / 374.4 MB, free: 5.145 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003453/0.03365, allocations: 438.9 kB / 374.8 MB, free: 4.723 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03365, allocations: 0 / 374.8 MB, free: 4.723 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005504/0.0342, allocations: 343 kB / 375.2 MB, free: 4.387 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (c_x1.v,c_x2.v,c_z.v) * Number of discrete variables: 12 (multiplier_x2z.limiter1.satPos,multiplier_x2z.limiter1.satNeg,multiplier_x2z.limiter2.satPos,multiplier_x2z.limiter2.satNeg,multiplier_x1z.limiter1.satPos,multiplier_x1z.limiter1.satNeg,multiplier_x1z.limiter2.satPos,multiplier_x1z.limiter2.satNeg,multiplier_x1x2.limiter1.satPos,multiplier_x1x2.limiter1.satNeg,multiplier_x1x2.limiter2.satPos,multiplier_x1x2.limiter2.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001213/0.03432, allocations: 117.2 kB / 375.3 MB, free: 4.258 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005548/0.03487, allocations: 476.4 kB / 375.8 MB, free: 3.793 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.03488, allocations: 4 kB / 375.8 MB, free: 3.789 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.03507, allocations: 183.3 kB / 375.9 MB, free: 3.605 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.03549, allocations: 139.4 kB / 376.1 MB, free: 3.469 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.03775, allocations: 1.76 MB / 377.8 MB, free: 1.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.03788, allocations: 192.5 kB / 378 MB, free: 1.453 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000244/0.03812, allocations: 110.9 kB / 378.1 MB, free: 1.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.03823, allocations: 68.5 kB / 378.2 MB, free: 1.27 MB / 298.7 MB Notification: Performance of SimCode: time 1.423e-06/0.03823, allocations: 0 / 378.2 MB, free: 1.27 MB / 298.7 MB Notification: Performance of Templates: time 0.01404/0.05227, allocations: 9.725 MB / 387.9 MB, free: 7.742 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.sim & ./ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1377049298025668]