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.0009575/0.0009575, allocations: 88.52 kB / 19.93 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.0009263/0.0009263, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.958/0.958, allocations: 177.1 MB / 203.5 MB, free: 5.766 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.02734/0.02734, allocations: 7.121 MB / 267.1 MB, free: 6.27 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.153e-06/1.153e-06, allocations: 3.938 kB / 393.5 MB, free: 3.527 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.486e-05, allocations: 2.281 kB / 393.5 MB, free: 3.523 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.IdealCircuit): time 0.004677/0.004692, allocations: 6.575 MB / 400.1 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.006944, allocations: 1.655 MB / 401.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.007314, allocations: 35.88 kB / 401.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.007659, allocations: 253.5 kB / 402 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004845/0.008143, allocations: 412.2 kB / 402.4 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.008662, allocations: 395.4 kB / 402.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.009743, allocations: 1.694 MB / 404.5 MB, free: 8.465 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005823/0.01033, allocations: 0.5527 MB / 405 MB, free: 7.875 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000763/0.01109, allocations: 0.959 MB / 406 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004519/0.01154, allocations: 0.4984 MB / 406.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.01171, allocations: 168 kB / 406.7 MB, free: 6.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.01187, allocations: 168 kB / 406.8 MB, free: 6.086 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.01205, allocations: 370.6 kB / 407.2 MB, free: 5.723 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003606/0.01241, allocations: 0.5339 MB / 407.7 MB, free: 5.188 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.01348, allocations: 1.807 MB / 409.5 MB, free: 3.375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01348, allocations: 0 / 409.5 MB, free: 3.375 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01348, allocations: 0 / 409.5 MB, free: 3.375 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.663e-05/0.01351, allocations: 0 / 409.5 MB, free: 3.375 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.00165/0.01516, allocations: 1.655 MB / 411.2 MB, free: 1.688 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.01519, allocations: 8.031 kB / 411.2 MB, free: 1.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.01534, allocations: 171.9 kB / 411.4 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006124/0.01596, allocations: 0.5804 MB / 411.9 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/0.01601, allocations: 107.2 kB / 412.1 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.01612, allocations: 136.4 kB / 412.2 MB, free: 0.668 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1251/0.1412, allocations: 1.884 MB / 414.1 MB, free: 29.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.1413, allocations: 4.062 kB / 414.1 MB, free: 29.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-05/0.1413, allocations: 62.22 kB / 414.1 MB, free: 29.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.1414, allocations: 35.16 kB / 414.2 MB, free: 29.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.1425, allocations: 0.9253 MB / 415.1 MB, free: 29.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003865/0.1463, allocations: 4.283 MB / 419.4 MB, free: 26.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.1469, allocations: 0.5229 MB / 419.9 MB, free: 26.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.1472, allocations: 218.5 kB / 420.1 MB, free: 26.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.1472, allocations: 13.66 kB / 420.1 MB, free: 26.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.1472, allocations: 42.88 kB / 420.2 MB, free: 26.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 4.9e-06/0.1473, allocations: 4.188 kB / 420.2 MB, free: 26.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=62): time 0.0006755/0.1479, allocations: 0.6171 MB / 420.8 MB, free: 25.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.148, allocations: 221.5 kB / 421 MB, free: 25.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00055/0.1485, allocations: 0.7325 MB / 421.7 MB, free: 25.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.1485, allocations: 41.08 kB / 421.8 MB, free: 25.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.1488, allocations: 0.7135 MB / 422.5 MB, free: 24.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.984e-05/0.1488, allocations: 217 kB / 422.7 MB, free: 24.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.149, allocations: 199.5 kB / 422.9 MB, free: 24.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.21e-05/0.1491, allocations: 389.4 kB / 423.3 MB, free: 24.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.1493, allocations: 239.6 kB / 423.5 MB, free: 23.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.1497, allocations: 0.7934 MB / 424.3 MB, free: 23.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006279/0.1503, allocations: 0.8707 MB / 425.2 MB, free: 22.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.1504, allocations: 4.156 kB / 425.2 MB, free: 22.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0009373/0.1513, allocations: 0.9532 MB / 426.1 MB, free: 22.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1513, allocations: 10.97 kB / 426.1 MB, free: 22.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.1513, allocations: 13.09 kB / 426.2 MB, free: 22.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.1513, allocations: 19.3 kB / 426.2 MB, free: 22.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.1519, allocations: 257.2 kB / 426.4 MB, free: 22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.1519, allocations: 27.83 kB / 426.5 MB, free: 21.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.1523, allocations: 156.3 kB / 426.6 MB, free: 21.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.1523, allocations: 48.33 kB / 426.7 MB, free: 21.9 MB / 330.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.0002408/0.1526, allocations: 288.6 kB / 426.9 MB, free: 21.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/0.1526, allocations: 86.27 kB / 427 MB, free: 21.63 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.25e-05/0.1527, allocations: 89.02 kB / 427.1 MB, free: 21.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1527, allocations: 7.219 kB / 427.1 MB, free: 21.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.1527, allocations: 4.688 kB / 427.1 MB, free: 21.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1527, allocations: 3.281 kB / 427.1 MB, free: 21.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.1538, allocations: 1.181 MB / 428.3 MB, free: 20.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1538, allocations: 1.219 kB / 428.3 MB, free: 20.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.1541, allocations: 129.3 kB / 428.4 MB, free: 20.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1541, allocations: 9.656 kB / 428.4 MB, free: 20.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.1541, allocations: 13.75 kB / 428.5 MB, free: 20.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.1541, allocations: 2.812 kB / 428.5 MB, free: 20.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1541, allocations: 4.969 kB / 428.5 MB, free: 20.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007197/0.1548, allocations: 0.8251 MB / 429.3 MB, free: 20.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.155, allocations: 127.7 kB / 429.4 MB, free: 20.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.1551, allocations: 16.94 kB / 429.4 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.1554, allocations: 106.1 kB / 429.5 MB, free: 20.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.1554, allocations: 44.41 kB / 429.6 MB, free: 20.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.1555, allocations: 20.14 kB / 429.6 MB, free: 20.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003512/0.1558, allocations: 477.7 kB / 430.1 MB, free: 20.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1558, allocations: 0 / 430.1 MB, free: 20.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005201/0.1563, allocations: 335.1 kB / 430.4 MB, free: 20.08 MB / 330.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 9.884e-05/0.1564, allocations: 124.1 kB / 430.5 MB, free: 19.97 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006193/0.1571, allocations: 0.5831 MB / 431.1 MB, free: 19.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1571, allocations: 1.312 kB / 431.1 MB, free: 19.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.1573, allocations: 228.8 kB / 431.3 MB, free: 19.69 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.1577, allocations: 134.1 kB / 431.4 MB, free: 19.63 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.1598, allocations: 1.857 MB / 433.3 MB, free: 18.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.1602, allocations: 485.1 kB / 433.8 MB, free: 18.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.1603, allocations: 73.16 kB / 433.8 MB, free: 18.46 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1603, allocations: 1.406 kB / 433.9 MB, free: 18.46 MB / 330.7 MB Notification: Performance of Templates: time 0.008716/0.169, allocations: 12.55 MB / 446.4 MB, free: 7.773 MB / 330.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 > ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.085803112015128]