Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.RikitakeSystem.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.00131/0.00131, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.00137/0.00137, allocations: 173 kB / 23.35 MB, free: 1.137 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.052/1.052, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.02697/0.02697, allocations: 7.117 MB / 267.4 MB, free: 5.93 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.PhysicalModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel") translateModel(ChaoticCircuits.RikitakeSystem.PhysicalModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 286.3 MB, free: 2.988 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.519e-05, allocations: 2.312 kB / 286.3 MB, free: 2.984 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.PhysicalModel): time 0.1245/0.1245, allocations: 3.197 MB / 289.5 MB, free: 19.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.1264, allocations: 0.9775 MB / 290.5 MB, free: 19.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000213/0.1266, allocations: 9.844 kB / 290.5 MB, free: 19.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004792/0.1271, allocations: 155.1 kB / 290.6 MB, free: 19.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.1273, allocations: 150.8 kB / 290.8 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.1275, allocations: 81.31 kB / 290.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004044/0.1279, allocations: 495.2 kB / 291.3 MB, free: 18.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.128, allocations: 122.8 kB / 291.5 MB, free: 18.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000408/0.1285, allocations: 284 kB / 291.7 MB, free: 18.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.1287, allocations: 155.8 kB / 291.9 MB, free: 18.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.234e-05/0.1287, allocations: 42.25 kB / 291.9 MB, free: 18.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.152e-05/0.1288, allocations: 40.56 kB / 292 MB, free: 18.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.1288, allocations: 96.19 kB / 292.1 MB, free: 18.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.129, allocations: 153.9 kB / 292.2 MB, free: 18.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.1293, allocations: 295.1 kB / 292.5 MB, free: 18.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1293, allocations: 0 / 292.5 MB, free: 18.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1293, allocations: 3.938 kB / 292.5 MB, free: 18.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1293, allocations: 5.219 kB / 292.5 MB, free: 18.74 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.0006752/0.13, allocations: 0.5984 MB / 293.1 MB, free: 18.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.13, allocations: 9.906 kB / 293.1 MB, free: 18.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.221e-05/0.1301, allocations: 63.27 kB / 293.2 MB, free: 18.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.1303, allocations: 197.5 kB / 293.4 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.1304, allocations: 33.41 kB / 293.4 MB, free: 18.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.1304, allocations: 45.31 kB / 293.5 MB, free: 18.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.1307, allocations: 283 kB / 293.7 MB, free: 17.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1307, allocations: 1.562 kB / 293.7 MB, free: 17.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.1307, allocations: 15.5 kB / 293.8 MB, free: 17.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1307, allocations: 9.969 kB / 293.8 MB, free: 17.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.1309, allocations: 97.73 kB / 293.9 MB, free: 17.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.1319, allocations: 0.8611 MB / 294.7 MB, free: 17.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.132, allocations: 120.4 kB / 294.8 MB, free: 17.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.357e-05/0.1321, allocations: 43.55 kB / 294.9 MB, free: 17.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.1321, allocations: 5.453 kB / 294.9 MB, free: 17.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.1321, allocations: 33.53 kB / 294.9 MB, free: 17.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.222e-06/0.1321, allocations: 3.938 kB / 294.9 MB, free: 17.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0001928/0.1323, allocations: 126.8 kB / 295 MB, free: 17.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.635e-05/0.1323, allocations: 57.84 kB / 295.1 MB, free: 17.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.1324, allocations: 225.6 kB / 295.3 MB, free: 17.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.1324, allocations: 30.92 kB / 295.4 MB, free: 17.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.1325, allocations: 214 kB / 295.6 MB, free: 16.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.1326, allocations: 90.41 kB / 295.6 MB, free: 16.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.1326, allocations: 56.44 kB / 295.7 MB, free: 16.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.1327, allocations: 340 kB / 296 MB, free: 16.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.66e-05/0.1327, allocations: 23.73 kB / 296.1 MB, free: 16.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.1328, allocations: 95.33 kB / 296.2 MB, free: 16.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1329, allocations: 150.7 kB / 296.3 MB, free: 16.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1329, allocations: 1.375 kB / 296.3 MB, free: 16.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001884/0.1331, allocations: 166.3 kB / 296.5 MB, free: 16.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1331, allocations: 11.72 kB / 296.5 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1331, allocations: 6.641 kB / 296.5 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1331, allocations: 4.344 kB / 296.5 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.1335, allocations: 131.8 kB / 296.6 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1335, allocations: 4.047 kB / 296.6 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.245e-05/0.1336, allocations: 23.41 kB / 296.6 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1336, allocations: 11.22 kB / 296.7 MB, free: 16.26 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (36): * Single equations (assignments): 36 * 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 6.55e-05/0.1336, allocations: 130.6 kB / 296.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.1337, allocations: 24.78 kB / 296.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.705e-05/0.1337, allocations: 26.73 kB / 296.8 MB, free: 16.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1337, allocations: 2.406 kB / 296.8 MB, free: 16.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1337, allocations: 4.969 kB / 296.8 MB, free: 16.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1337, allocations: 6.172 kB / 296.8 MB, free: 16.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.1341, allocations: 367.6 kB / 297.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1341, allocations: 0.6562 kB / 297.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.1343, allocations: 70.33 kB / 297.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.1343, allocations: 1.25 kB / 297.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1343, allocations: 5.875 kB / 297.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1343, allocations: 2.375 kB / 297.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1343, allocations: 4.281 kB / 297.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.1345, allocations: 263 kB / 297.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.1345, allocations: 24.45 kB / 297.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.1346, allocations: 5.312 kB / 297.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.575e-05/0.1346, allocations: 9.172 kB / 297.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.1347, allocations: 15.3 kB / 297.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.1347, allocations: 5.406 kB / 297.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.436e-05/0.1348, allocations: 81.61 kB / 297.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1348, allocations: 1.219 kB / 297.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.135, allocations: 104.4 kB / 297.8 MB, free: 15.62 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inductor1.i,inductor2.i,inertia1.w,inertia2.w,torque1.phi,torque2.phi) * 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 (22): * Single equations (assignments): 22 * 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 7.138e-05/0.135, allocations: 85.97 kB / 297.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.1352, allocations: 115.5 kB / 298 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.1352, allocations: 2.531 kB / 298 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.645e-05/0.1352, allocations: 48.92 kB / 298 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.1354, allocations: 37.03 kB / 298.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.1365, allocations: 0.7059 MB / 298.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.082e-05/0.1366, allocations: 94.66 kB / 298.9 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.835e-05/0.1367, allocations: 26.41 kB / 298.9 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.1368, allocations: 100.2 kB / 299 MB, free: 14.92 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1368, allocations: 0 / 299 MB, free: 14.92 MB / 266.7 MB Notification: Performance of Templates: time 0.005372/0.1422, allocations: 2.819 MB / 301.8 MB, free: 14.22 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.sim & ./ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8731921650469303]