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.001/0.001, allocations: 81.53 kB / 20.8 MB, free: 3.66 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.0009472/0.0009472, allocations: 169.4 kB / 24.22 MB, free: 244 kB / 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.9994/0.9994, allocations: 177.1 MB / 204.7 MB, free: 5.441 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.03954/0.03954, allocations: 7.119 MB / 268.3 MB, free: 5.891 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.232e-06/1.232e-06, allocations: 0 / 287.2 MB, free: 2.898 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.014e-05, allocations: 2.312 kB / 287.2 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.PhysicalModel): time 0.1113/0.1113, allocations: 3.205 MB / 290.5 MB, free: 19.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1129, allocations: 0.979 MB / 291.4 MB, free: 19.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.113, allocations: 10.69 kB / 291.4 MB, free: 19.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004532/0.1135, allocations: 152.1 kB / 291.6 MB, free: 19.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.1138, allocations: 152.2 kB / 291.7 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.1139, allocations: 80.83 kB / 291.8 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004141/0.1143, allocations: 498.9 kB / 292.3 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.1145, allocations: 121.2 kB / 292.4 MB, free: 19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003872/0.1149, allocations: 282.8 kB / 292.7 MB, free: 18.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.1151, allocations: 157 kB / 292.9 MB, free: 18.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.15e-05/0.1152, allocations: 40.59 kB / 292.9 MB, free: 18.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.232e-05/0.1153, allocations: 39.97 kB / 292.9 MB, free: 18.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.1153, allocations: 95 kB / 293 MB, free: 18.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.1155, allocations: 157.4 kB / 293.2 MB, free: 18.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.1158, allocations: 295.1 kB / 293.5 MB, free: 18.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1158, allocations: 3.969 kB / 293.5 MB, free: 18.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1158, allocations: 1.125 kB / 293.5 MB, free: 18.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.1158, allocations: 0 / 293.5 MB, free: 18.78 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.0007119/0.1165, allocations: 0.6035 MB / 294.1 MB, free: 18.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1166, allocations: 8.906 kB / 294.1 MB, free: 18.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.653e-05/0.1167, allocations: 63.42 kB / 294.1 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.1169, allocations: 196.8 kB / 294.3 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.117, allocations: 30.78 kB / 294.4 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/0.117, allocations: 47.67 kB / 294.4 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.1174, allocations: 277.9 kB / 294.7 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.1174, allocations: 1.688 kB / 294.7 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.1174, allocations: 16.19 kB / 294.7 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.1174, allocations: 13.78 kB / 294.7 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.1176, allocations: 98.67 kB / 294.8 MB, free: 17.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.1187, allocations: 0.8654 MB / 295.7 MB, free: 17.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.1189, allocations: 113.9 kB / 295.8 MB, free: 17.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.119, allocations: 42.69 kB / 295.8 MB, free: 17.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.119, allocations: 3.875 kB / 295.8 MB, free: 17.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.119, allocations: 37.22 kB / 295.9 MB, free: 17.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.883e-06/0.119, allocations: 1.156 kB / 295.9 MB, free: 17.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002061/0.1192, allocations: 130.2 kB / 296 MB, free: 17.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.1192, allocations: 60.17 kB / 296.1 MB, free: 17.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.1194, allocations: 226.5 kB / 296.3 MB, free: 17.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.1194, allocations: 26.8 kB / 296.3 MB, free: 17.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.1194, allocations: 216.5 kB / 296.5 MB, free: 16.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.1195, allocations: 90.89 kB / 296.6 MB, free: 16.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.1195, allocations: 60.92 kB / 296.7 MB, free: 16.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.948e-05/0.1196, allocations: 336.8 kB / 297 MB, free: 16.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.1196, allocations: 24.64 kB / 297 MB, free: 16.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.095e-05/0.1197, allocations: 96.58 kB / 297.1 MB, free: 16.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.1198, allocations: 146.2 kB / 297.3 MB, free: 16.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1198, allocations: 0 / 297.3 MB, free: 16.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001824/0.12, allocations: 165.8 kB / 297.4 MB, free: 16.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.12, allocations: 12.88 kB / 297.4 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.12, allocations: 2.25 kB / 297.4 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.12, allocations: 7.844 kB / 297.4 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.1204, allocations: 133.8 kB / 297.6 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.1204, allocations: 4.141 kB / 297.6 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.497e-05/0.1205, allocations: 23.83 kB / 297.6 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1205, allocations: 10.53 kB / 297.6 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.987e-05/0.1206, allocations: 127.2 kB / 297.7 MB, free: 16.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.1206, allocations: 18.78 kB / 297.8 MB, free: 16.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.1207, allocations: 31.86 kB / 297.8 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1207, allocations: 5.25 kB / 297.8 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1207, allocations: 5.125 kB / 297.8 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1207, allocations: 1.172 kB / 297.8 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.1211, allocations: 363.7 kB / 298.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1211, allocations: 3.484 kB / 298.2 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.1213, allocations: 72.92 kB / 298.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.1214, allocations: 2.328 kB / 298.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.1214, allocations: 2.828 kB / 298.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1214, allocations: 5.625 kB / 298.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1214, allocations: 0 / 298.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.1216, allocations: 269.4 kB / 298.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.1217, allocations: 23.61 kB / 298.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.1217, allocations: 3.594 kB / 298.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.1218, allocations: 12.19 kB / 298.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.1218, allocations: 11.12 kB / 298.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.1218, allocations: 9.031 kB / 298.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.624e-05/0.1219, allocations: 81.02 kB / 298.6 MB, free: 15.63 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1219, allocations: 4 kB / 298.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002288/0.1221, allocations: 96.7 kB / 298.7 MB, free: 15.6 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 8.551e-05/0.1222, allocations: 84.03 kB / 298.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.1224, allocations: 112.7 kB / 298.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.1224, allocations: 2.062 kB / 298.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.013e-05/0.1224, allocations: 57.58 kB / 299 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.1227, allocations: 42.5 kB / 299 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.1237, allocations: 0.6986 MB / 299.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.371e-05/0.1238, allocations: 95.81 kB / 299.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.281e-05/0.1239, allocations: 28.41 kB / 299.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.124, allocations: 100.1 kB / 299.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.124, allocations: 0 / 299.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of Templates: time 0.005705/0.1297, allocations: 2.816 MB / 302.8 MB, free: 14.18 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 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.764211959205568]